Skip to content

Limiting jobs MXE uses on projects

pahaze edited this page Jan 23, 2023 · 1 revision

Problem

Your CPU is being overloaded (or not being utilized to full potential), or you're running out of RAM

Solution

Add DEFAULT_MAX_JOBS=x to your make arguments, where x is the number of jobs you want.
For example, if you're building Qt with 12 jobs, you would run:

make qt5 DEFAULT_MAX_JOBS=12