> > More swap will help, but the basic problem here is the HUGE number of jobs > specified. If each job eats say up to 2G when it gets going, then -j32 > will > require >64G RAM to keep running without thrashing the swap device, or > running > OOM. >
Yes agree. If the swapfile is on an SSD then there's no thrashing. For me the swap file only gets used on big builds and /proc/sys/vm/swappiness is tweaked via /etc/sysctl.conf so SSD wear is not a big concern.

