[QBS] Possible to limit number of concurrent threads to use when building?

Christian Kandeler christian.kandeler at nokia.com
Thu Sep 13 16:32:15 CEST 2012

On 13/09/12 16:28, ext William Gallafent wrote:
> When building on a computer with 4 CPUs but restricted memory (only
> 512MB!), I would like to limit the number of concurrent build
> processes to fewer than the number of CPUs, since allowing 4 threads
> to run concurrently leads to memory exhaustion. Is there a way to do
> this? Grepping for "threads" in the QBS source tree didn't reveal
> anything obvious!

$ qbs -h
   -j <n>  .......... use <n> jobs (default is nr of cores)


More information about the Qbs mailing list