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 22:03:14-08:00
log276ca77bf04f574a730923aa77757ac0d2a464df
tree9aa3e3e7ac6c89081de38ec0119edc21ee450d47
parentec74d650fe5ba6b5fddd0277b06b43a94383a0e0

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, .{