On Sat, 27 Aug 2022 at 20:45, Edwin Török <[email protected]> wrote: > I don't think it is currently possible to limit the number of 'xz' > processes though.
This is a general problem and has been discussed many times over. Bitbake historically doesn't limit the amount of compiler instances or any other processes that may start, and makes no promises about avoiding OOM situations. If you find yourself in one, you need to tighten BB_NUMBER_THREADS/PARALLEL_MAKE until OOM goes away, or add more RAM. More conservative defaults will never be conservative enough for every user, so we stick with defaults that make use of every available CPU core. That said, there are recent bitbake patches to track 'memory pressure' and (I'm not sure exactly how) try to hold back if memory gets tight, so you're welcome to take them and run experiments. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#169967): https://lists.openembedded.org/g/openembedded-core/message/169967 Mute This Topic: https://lists.openembedded.org/mt/93294351/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
