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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user