All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Westermann, Oliver" <Oliver.Westermann@cognex.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: "yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Subject: RE: [EXTERNAL]  Re: [yocto] nodejs do_compile eats all resources
Date: Tue, 27 Sep 2022 08:34:23 +0000	[thread overview]
Message-ID: <SA1PR06MB8209B064AB1471F7B0AF432B86559@SA1PR06MB8209.namprd06.prod.outlook.com> (raw)
In-Reply-To: <CANNYZj9_xv98411bGrzH5eQ3X8P6qpay+5UDZUGfkgdDd0N6JQ@mail.gmail.com>

> Am Montag, 26. September 2022 19:33 schrieb Alexander Kanavin <alex.kanavin@gmail.com> 
> 
> 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 



  reply	other threads:[~2022-09-27  8:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-26 17:20 nodejs do_compile eats all resources Westermann, Oliver
2022-09-26 17:32 ` [yocto] " Alexander Kanavin
2022-09-27  8:34   ` Westermann, Oliver [this message]
2022-09-27  8:50     ` [EXTERNAL] " Alexander Kanavin
2022-09-27  9:02       ` Westermann, Oliver
2022-09-27  9:15         ` Martin Jansa
2022-09-26 22:11 ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SA1PR06MB8209B064AB1471F7B0AF432B86559@SA1PR06MB8209.namprd06.prod.outlook.com \
    --to=oliver.westermann@cognex.com \
    --cc=alex.kanavin@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.