Op 12-04-2021 om 10:13 schreef Robert Berger@...:
My comments are in-line.
On 11/04/2021 18:23, Gmane Admin wrote:
My build machine has 8 cores + HT so bitbake enthusiastically assumes 16. However I have (only?) 16GB of RAM (+24GB swap space).The RAM usage depends heavily on what you are building ;) - It could be some crazy C++ stuff ;)
16GB of RAM has always been more then enough with 4 core + HT, but now building certain recipes (nodejs, but rust will probably do it as well) eats up more memory then there actually is RAM causing excessive swapping.
Yeah, C++. But apearently it's during the LTO phase where it eat my memory.
Is Linux your build host?
Then you can use cgroups to limit resources like memory.
So then it would just fail the build?
Do you use a build container? It uses cgroups underneath.