Re: [gentoo-user] Limit Memory Used By Portage/Firefox Build Causes OOM

2020-06-21 Thread Sid Spry
On Sun, Jun 21, 2020, at 8:13 PM, Walter Dnes wrote: > On Sun, Jun 21, 2020 at 06:02:22PM -0500, Sid Spry wrote > > > > My immediate issue is cargo seems to ignore MAKEOPTS. Cargo > > also seems to select build parallelism itself. > > You can also set the load average in MAKEOPTS ("-l"

Re: [gentoo-user] Limit Memory Used By Portage/Firefox Build Causes OOM

2020-06-21 Thread Walter Dnes
On Sun, Jun 21, 2020 at 06:02:22PM -0500, Sid Spry wrote > > My immediate issue is cargo seems to ignore MAKEOPTS. Cargo > also seems to select build parallelism itself. You can also set the load average in MAKEOPTS ("-l" parameter; letter "ell") to indirectly force fewer jobs. Try...

[gentoo-user] Limit Memory Used By Portage/Firefox Build Causes OOM

2020-06-21 Thread Sid Spry
Is there any way to limit the memory used by portage? I am suspecting setting a climit on the portage user is the easiest way. My immediate issue is cargo seems to ignore MAKEOPTS. Cargo also seems to select build parallelism itself.