3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #49328 from c0bw3b/nixos/gc-release

[18.09] installation-device: set GC initial heap size to 1MB
This commit is contained in:
Samuel Dionne-Riel 2018-11-06 00:53:46 +00:00 committed by GitHub
commit 6d6e4e6b55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ with lib;
# Tell the Nix evaluator to garbage collect more aggressively.
# This is desirable in memory-constrained environments that don't
# (yet) have swap set up.
environment.variables.GC_INITIAL_HEAP_SIZE = "100000";
environment.variables.GC_INITIAL_HEAP_SIZE = "1M";
# Make the installer more likely to succeed in low memory
# environments. The kernel's overcommit heustistics bite us