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.
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.