authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-30 21:57:51-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-30 22:03:39-08:00
log43866f743978ef6cf4755760cc96d4c00665fde3
tree902d5bec86f8e75e3fd283d85ebae0567f90b296
parentb6f4bb91c41bb78276ad54725ae5c61a160defd6

build.zig: bump max_rss

encountered error: memory usage peaked at 0.66GB (656060416 bytes), exceeding the declared upper bound of 0.64GB (639565414 bytes)

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

build.zig+1-17
...@@ -498,23 +498,7 @@ pub fn build(b: *std.Build) !void {...@@ -498,23 +498,7 @@ pub fn build(b: *std.Build) !void {
498 .skip_llvm = skip_llvm,498 .skip_llvm = skip_llvm,
499 .skip_libc = true,499 .skip_libc = true,
500 .no_builtin = true,500 .no_builtin = true,
501 .max_rss = switch (b.graph.host.result.os.tag) {501 .max_rss = 900_000_000,
502 .freebsd => 800_000_000,
503 .linux => switch (b.graph.host.result.cpu.arch) {
504 .aarch64 => 639_565_414,
505 .loongarch64 => 598_884_352,
506 .powerpc64le => 597_897_625,
507 .riscv64 => 636_429_516,
508 .s390x => 574_166_630,
509 .x86_64 => 978_463_129,
510 else => 900_000_000,
511 },
512 .macos => switch (b.graph.host.result.cpu.arch) {
513 .aarch64 => 701_413_785,
514 else => 800_000_000,
515 },
516 else => 900_000_000,
517 },
518 }));502 }));
519503
520 test_modules_step.dependOn(tests.addModuleTests(b, .{504 test_modules_step.dependOn(tests.addModuleTests(b, .{