build-image.sh refuses under 6 GB available, not 9: the cap alone

Tower sat at 8.6-9.1 GB available all evening and no build could start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 23:35:12 +00:00
parent c0998f1ac7
commit a96be2f14c
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ set -eu
MEM=6g # the builder's memory cap (Tower has no swap to spill into)
CPUS=0-5 # six of twelve threads; cargo inside sees six and runs six jobs
NEED_KB=$((9 * 1024 * 1024)) # the cap plus 3 GB for everything else
NEED_KB=$((6 * 1024 * 1024)) # the cap; the cgroup kills a build that outgrows it
MAX_LOAD=12
BUILDER=ipx-capped