From 3b798f5ebf74f10772fe581e28498a327c9a765c Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Wed, 12 Aug 2026 18:22:32 +0000 Subject: [PATCH] test: increase VM memory to 4 GiB --- test/lib/make-test.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/lib/make-test.nix b/test/lib/make-test.nix index 73785e1..69a6e9e 100644 --- a/test/lib/make-test.nix +++ b/test/lib/make-test.nix @@ -128,8 +128,9 @@ let # Needed because duplicity requires 270 MB of free temp space, regardless of backup size diskSize = 1024; - # Min. 800 MiB needed to avoid 'out of memory' errors - memorySize = lib.mkDefault 2048; + # The `netns` scenarios need more than 2 GiB: netns-isolation adds a + # network namespace per service, which costs a few hundred MiB of slab. + memorySize = lib.mkDefault 4096; # There are no perf gains beyond 3 cores. # Benchmark: Ryzen 7 2700 (8 cores), VM test `default` as of 34f6eb90.