On Sat, Jun 20, 2020 at 11:24 AM Dan Čermák <dan.cermak(a)cgc-instruments.com>
wrote:
Sorry about the empty email, I've hit send too fast…
Anyway, on the topic of parallel builds: what is everyone's opinion on
adding the %limit_build macro from openSUSE (see:
https://build.opensuse.org/package/view_file/network:chromium/memory-cons...
)?
tl;dr; %limit_build -m 1500 will set the number of parallel processes so
that if all of them consume 1500 MB of RAM at most, that they will not
OOM your worker (especially handy on workers with many cores, but not
much RAM).
We are being hit by this in WebKitGTK and in Firefox/Thunderbird from time
to time. There is an RFE for RPM to solve it -
https://bugzilla.redhat.com/show_bug.cgi?id=1118734.
Bye,
Tom