test: increase VM memory to 4 GiB

This commit is contained in:
Jonas Nick
2026-08-12 18:22:32 +00:00
parent 17f0d98c22
commit 3b798f5ebf
+3 -2
View File
@@ -128,8 +128,9 @@ let
# Needed because duplicity requires 270 MB of free temp space, regardless of backup size # Needed because duplicity requires 270 MB of free temp space, regardless of backup size
diskSize = 1024; diskSize = 1024;
# Min. 800 MiB needed to avoid 'out of memory' errors # The `netns` scenarios need more than 2 GiB: netns-isolation adds a
memorySize = lib.mkDefault 2048; # network namespace per service, which costs a few hundred MiB of slab.
memorySize = lib.mkDefault 4096;
# There are no perf gains beyond 3 cores. # There are no perf gains beyond 3 cores.
# Benchmark: Ryzen 7 2700 (8 cores), VM test `default` as of 34f6eb90. # Benchmark: Ryzen 7 2700 (8 cores), VM test `default` as of 34f6eb90.