rhea: more zramSwap
We still commonly get evaluation failures that look like caused by lack of memory. Nixpkgs grows all the time, too. Anyway, I feel relatively confident about increasing this to 80%.
Vladimír Čunát committed
Feb 15, 2024 at 11:34 UTC
7e034abd1a3f585e9b2de8ddd58397c40db1fb45
1 file changed
+1
delft/rhea/configuration.nix
+1
@@ -36,6 +36,7 @@
36
37
# hydra-evaluator causes very sharp spikes in RAM usage on trunk-combined
38
zramSwap.enable = true;
39
+ zramSwap.memoryPercent = 80;
40
41
nix.gc.automatic = true;
42
nix.gc.options = ''--max-freed "$((400 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';