From 420a9aed4c27af2501b6e85973b7762a7e38b9e4 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 3 Jan 2026 21:18:33 -0800 Subject: [PATCH] build: bump freebsd max_rss solves error: memory usage peaked at 1.10GB (1102852096 bytes), exceeding the declared upper bound of 1.06GB (1060217241 bytes) --- build.zig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.zig b/build.zig index ed2c0f7581..a52dee1de9 100644 --- a/build.zig +++ b/build.zig @@ -470,10 +470,7 @@ pub fn build(b: *std.Build) !void { .skip_llvm = skip_llvm, .skip_libc = skip_libc, .max_rss = switch (b.graph.host.result.os.tag) { - .freebsd => switch (b.graph.host.result.cpu.arch) { - .x86_64 => 1_060_217_241, - else => 1_100_000_000, - }, + .freebsd => 2_000_000_000, .linux => switch (b.graph.host.result.cpu.arch) { .aarch64 => 659_809_075, .loongarch64 => 598_902_374,