authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-19 15:16:51-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-30 12:10:01-08:00
loga68cb81a843934094cb55033ca39e6bebfdacce0
tree7f371effe7527ac30f0f9878f686df2a97387172
parentccf85b51ea21fc88cfa00aa279704074301cd38c

build: adjust max_rss for behavior tests

observed error: memory usage peaked at 0.70GB (699138048 bytes), exceeding the declared upper bound of 0.66GB (659809075 bytes)

1 files changed, 1 insertions(+), 21 deletions(-)

build.zig+1-21
...@@ -472,27 +472,7 @@ pub fn build(b: *std.Build) !void {...@@ -472,27 +472,7 @@ pub fn build(b: *std.Build) !void {
472 .skip_linux = skip_linux,472 .skip_linux = skip_linux,
473 .skip_llvm = skip_llvm,473 .skip_llvm = skip_llvm,
474 .skip_libc = skip_libc,474 .skip_libc = skip_libc,
475 .max_rss = switch (b.graph.host.result.os.tag) {475 .max_rss = 3_300_000_000,
476 .freebsd => 2_000_000_000,
477 .linux => switch (b.graph.host.result.cpu.arch) {
478 .aarch64 => 659_809_075,
479 .loongarch64 => 598_902_374,
480 .powerpc64le => 627_431_833,
481 .riscv64 => 827_043_430,
482 .s390x => 580_596_121,
483 .x86_64 => 3_290_894_745,
484 else => 3_300_000_000,
485 },
486 .macos => switch (b.graph.host.result.cpu.arch) {
487 .aarch64 => 767_736_217,
488 else => 800_000_000,
489 },
490 .windows => switch (b.graph.host.result.cpu.arch) {
491 .x86_64 => 603_070_054,
492 else => 700_000_000,
493 },
494 else => 3_300_000_000,
495 },
496 }));476 }));
497477
498 test_modules_step.dependOn(tests.addModuleTests(b, .{478 test_modules_step.dependOn(tests.addModuleTests(b, .{