summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-10-30 14:13:59 +0100
committerGitHub <noreply@github.com>2018-10-30 14:13:59 +0100
commitbe6e4b8af89741e5fee1d67753f3a1e6a75168db (patch)
tree0a6f177efb9fa773f93f88c322f8183c0035ca35 /nixos
parentcc161d738ba60f183da8de2ef43845400e76b839 (diff)
parentfc476599adc6a990c0484e00ce16b76f31076092 (diff)
downloadnixlib-be6e4b8af89741e5fee1d67753f3a1e6a75168db.tar
nixlib-be6e4b8af89741e5fee1d67753f3a1e6a75168db.tar.gz
nixlib-be6e4b8af89741e5fee1d67753f3a1e6a75168db.tar.bz2
nixlib-be6e4b8af89741e5fee1d67753f3a1e6a75168db.tar.lz
nixlib-be6e4b8af89741e5fee1d67753f3a1e6a75168db.tar.xz
nixlib-be6e4b8af89741e5fee1d67753f3a1e6a75168db.tar.zst
nixlib-be6e4b8af89741e5fee1d67753f3a1e6a75168db.zip
Merge pull request #49326 from c0bw3b/nixos/installation-device
nixos/installation-device: set GC initial heap size to 1MB
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/profiles/installation-device.nix2
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