authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-10-20 21:30:25-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-10-20 21:31:49-07:00
log1c48588fc8c218a0db0a6f511302020830fc3990
treef2b30d1c92e667775c672f7e335a3c591562fb0c
parent89aad1b89c0800bf54ffda905d5c3cbbe1c3bd71

build.zig: annotate max_rss for building the compiler

I observed some out-of-memory conditions happening on one of the CI servers. This should make it avoid scheduling compiler builds at the same time as other memory-intensive operations.

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

build.zig+1
......@@ -578,6 +578,7 @@ fn addCompilerStep(
578578 .root_source_file = .{ .path = "src/main.zig" },
579579 .target = target,
580580 .optimize = optimize,
581 .max_rss = 5_200_000_000,
581582 });
582583 exe.stack_size = stack_size;
583584 exe.addAnonymousModule("aro", .{