New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nix tests can't run in a system with 512MiB of RAM #84
Comments
'xz' alone runs fine. |
Yes, "xz -9" uses a lot of memory. Maybe add more swap? |
Well, we all know that solution :) My concern was more about it being a big requirement, for the package manager tests. |
My solution has been, both in the raspberry pi and the sheevaplug, to use:
|
+1 for reducing the memory footprint. (Why does a test need to use more memory than the actual system?) Interesting, "man xz" actually has lots of info about memory usage and ways to limit it. Search for memory or memlimit. |
But the "actual system" does use this much memory because it (nix-push) calls "xz -9". |
Even having 100MiB of swap, the tests fail due to not being able to run 'xz -9' in corepkgs/nar.nix
As for nixpkgs, it makes the building of nix fail.
The text was updated successfully, but these errors were encountered: