When building some packages, I found OOM in dmesg.
The build process was killed and terminated.
Anyway to set up memory usage limitations?
Easiest way for me is to specify the number of concurrent tasks running when building with
$ BB_NUMBER_THREADS=2 bitbake <target>
Where 2
is the number of concurrent build processes running.
You can also set this in your local.conf
. Here's another answer on the topic.
You can limit the parallel make jobs.
Set a PARALLEL_MAKE yout local.conf
PARALLEL_MAKE ?= "-j 1"