diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2018-10-28 10:48:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-28 10:48:00 +0100 |
commit | fc476599adc6a990c0484e00ce16b76f31076092 (patch) | |
tree | 43aeca7faee8f3018bbd348beabe0e0b6b0b73e4 /nixos/modules | |
parent | 15759508fa29ccb0fba33e0ee9e2c740f48b2849 (diff) |
installation-device: set GC initial heap size to 1MB
100000 (100kB) is too aggressive (too low) and gets ignored by the GC
See issue #43339
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/profiles/installation-device.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix index 370db2b08452..580ea4a58e5b 100644 --- a/nixos/modules/profiles/installation-device.nix +++ b/nixos/modules/profiles/installation-device.nix @@ -63,7 +63,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 |