2

When building some packages, I found OOM in dmesg.

The build process was killed and terminated.

Anyway to set up memory usage limitations?

GreenTea
  • 769
  • 1
  • 10
  • 36

2 Answers2

2

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.

greezybacon
  • 556
  • 5
  • 15
1

You can limit the parallel make jobs.

Set a PARALLEL_MAKE yout local.conf

PARALLEL_MAKE ?= "-j 1"