rhea: more zramSwap, again
We're hitting OOM too often again when evaluating trunk-combined.
Vladimír Čunát committed
Nov 25, 2024 at 08:55 UTC
b349b94c650e803cce59cbf9f0fdfb935db4cef0
1 file changed
+1
-1
build/rhea/configuration.nix
+1
-1
@@ -37,7 +37,7 @@
37
38
# hydra-evaluator causes very sharp spikes in RAM usage on trunk-combined
39
zramSwap.enable = true;
40
- zramSwap.memoryPercent = 120;
40
+ zramSwap.memoryPercent = 150;
41
42
nix.gc.automatic = true;
43
nix.gc.options = ''--max-freed "$((400 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';