From: Michael Tremer Date: Mon, 20 Apr 2015 21:37:58 +0000 (+0200) Subject: Perform less parallelism X-Git-Tag: 0.9.27~10^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9a26c41f9d6eb8d4c293112e94ad1659a8fd7b3;p=pakfire.git Perform less parallelism Sometimes we have trouble with latest versions of g++ that requires too much RAM so that the OOM killer kills all the compiler processes. Hence we will start less processes at once for now. This may to be increased even more in the future as it seems that g++ requires much more memory with every release. --- diff --git a/src/pakfire/system.py b/src/pakfire/system.py index 950bb8365..f6ff1dc57 100644 --- a/src/pakfire/system.py +++ b/src/pakfire/system.py @@ -248,8 +248,8 @@ class System(object): simulatneously when compiling. """ # Check how many processes would fit into the - # memory when each process takes up to 128MB. - multiplicator = self.memory / (128 * 1024 * 1024) + # memory when each process takes up to 192MB. + multiplicator = self.memory / (192 * 1024 * 1024) multiplicator = round(multiplicator) # Count the number of online CPU cores.