summaryrefslogtreecommitdiff
path: root/start-container-qemu.sh
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2020-08-24 11:30:03 +0200
committerDiana Picus <diana.picus@linaro.org>2020-08-31 08:38:52 +0000
commit73ab5ac992942292817b1441472d325ed4c553be (patch)
treefad13ae1c2ceb18591e32255bc38d46153ee6c46 /start-container-qemu.sh
parentc1856649fdd1f353c28d8c5158d3ba83f0dfdc1b (diff)
Increase memory allocation for build containers
Building flang needs more than 1GB per core and trying with 2GB per core surpasses the 30000 threshold. Use unlimited instead. Change-Id: Ibe1a06d5e529eaad9ea3b4a9d6c569a1171bed9c
Diffstat (limited to 'start-container-qemu.sh')
-rwxr-xr-xstart-container-qemu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/start-container-qemu.sh b/start-container-qemu.sh
index b20bb2f3..6e01d9c1 100755
--- a/start-container-qemu.sh
+++ b/start-container-qemu.sh
@@ -97,7 +97,7 @@ fi
# CPU is limited (on contention) by docker container.
ncpus=$(container_exec nproc --all)
-memory=$(print_memory_limit "$task" "$weight" "$ncpus")
+memory=$(print_memory_limit "$task" "$weight")
# Reduce memory limit for VM to leave something for QEMU itself.
memory=$(($memory*2/3))