make.sh: Fit more processes into memory
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Mar 2019 17:21:15 +0000 (17:21 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 4 Mar 2019 17:21:15 +0000 (17:21 +0000)
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>
make.sh

diff --git a/make.sh b/make.sh
index 39a1c53..e28819f 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -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