Skip to content

Commit 5b9e528

Browse files
committed
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 2d41dac which did the same but for our x86_64-linux machines.
1 parent e0ee9d3 commit 5b9e528

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ci/aarch64-linux-debug.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ stage3-debug/bin/zig build -Dtarget=arm-linux-musleabihf
6060
# TODO: add -fqemu back to this line
6161

6262
stage3-debug/bin/zig build test docs \
63+
--maxrss 24696061952 \
6364
-fwasmtime \
6465
-Dstatic-llvm \
6566
-Dtarget=native-native-musl \

ci/aarch64-linux-release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf
6060
# TODO: add -fqemu back to this line
6161

6262
stage3-release/bin/zig build test docs \
63+
--maxrss 24696061952 \
6364
-fwasmtime \
6465
-Dstatic-llvm \
6566
-Dtarget=native-native-musl \

0 commit comments

Comments
 (0)