make.sh: Fit more processes into memory

Because we have a good way to limit processes now, we should
increase the default size a little bit

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2019-03-04 17:21:15 +00:00
parent 9ff5b381eb
commit 297473d5f4

View File

@@ -202,9 +202,9 @@ configure_build() {
# Determine parallelism
# We assume that each process consumes about
# 192MB of memory. Therefore we find out how
# 128MB of memory. Therefore we find out how
# many processes fit into memory.
local mem_max=$(( ${SYSTEM_MEMORY} / 192 ))
local mem_max=$(( ${SYSTEM_MEMORY} / 128 ))
local cpu_max=$(( ${SYSTEM_PROCESSORS} + 1 ))
local parallelism