From a9a26c41f9d6eb8d4c293112e94ad1659a8fd7b3 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 20 Apr 2015 23:37:58 +0200 Subject: [PATCH] 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. --- src/pakfire/system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pakfire/system.py b/src/pakfire/system.py index 950bb836..f6ff1dc5 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. -- 2.39.2