Re: nodejs do_compile eats all resources


Alexander Kanavin
 

Do keep in mind that PARALLEL_MAKE can and should be set per recipe,
so you can make-limit only the worst items.

Alex

On Tue, 27 Sept 2022 at 10:34, Westermann, Oliver
<Oliver.Westermann@...> wrote:

Am Montag, 26. September 2022 19:33 schrieb Alexander Kanavin <alex.kanavin@...>

Anything written in C++ tends to consume 1-2 Gb of ram per compiler process. If that lands you in OOM, you probably should limit that with PARALLEL_MAKE:pn-nodejs, but otherwise that is the sad reality of C++ builds.
I expected something like this. Thanks for the confirmation and I will try to play with PARALLEL_MAKE to reduce the impact.

- Olli

Join yocto@lists.yoctoproject.org to automatically receive all group messages.