authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-04-25 12:46:39-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-04-25 12:46:39-07:00
log5b9e528bc550e7ea9e286fdd2324316f9895d5da
tree7786bb61712b355eb58d36f5762cb974079608bb
parente0ee9d38cf589c70f81444e79b6c7ee551adcf03

CI: give aarch64-linux a maxrss parameter

to avoid getting OOM killed. We need to have a high number of GitHub Actions runners simultaneously active, otherwise the hardware ends up underutilized. But with zig build running in parallel now, this sometimes results in memory usage spikes that have been causing the runner to get killed. This number is the total physical memory (251G) divided by the number of runners we have active (11). See related commit 2d41dac57d3afdd5fe3d03be08ff0a24833f61dd which did the same but for our x86_64-linux machines.

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

ci/aarch64-linux-debug.sh+1
...@@ -60,6 +60,7 @@ stage3-debug/bin/zig build -Dtarget=arm-linux-musleabihf...@@ -60,6 +60,7 @@ stage3-debug/bin/zig build -Dtarget=arm-linux-musleabihf
60# TODO: add -fqemu back to this line60# TODO: add -fqemu back to this line
6161
62stage3-debug/bin/zig build test docs \62stage3-debug/bin/zig build test docs \
63 --maxrss 24696061952 \
63 -fwasmtime \64 -fwasmtime \
64 -Dstatic-llvm \65 -Dstatic-llvm \
65 -Dtarget=native-native-musl \66 -Dtarget=native-native-musl \
ci/aarch64-linux-release.sh+1
...@@ -60,6 +60,7 @@ stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf...@@ -60,6 +60,7 @@ stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf
60# TODO: add -fqemu back to this line60# TODO: add -fqemu back to this line
6161
62stage3-release/bin/zig build test docs \62stage3-release/bin/zig build test docs \
63 --maxrss 24696061952 \
63 -fwasmtime \64 -fwasmtime \
64 -Dstatic-llvm \65 -Dstatic-llvm \
65 -Dtarget=native-native-musl \66 -Dtarget=native-native-musl \