From: | Adam Carter <adamcarter3@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build | ||
Date: | Fri, 14 Jun 2019 06:32:49 | ||
Message-Id: | CAC=wYCEXdRGNn2FDBtrGdJQfPjxmAZEx7zhtJqsvtxtruhvN8A@mail.gmail.com | ||
In Reply to: | Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build by Mick |
1 | > |
2 | > More swap will help, but the basic problem here is the HUGE number of jobs |
3 | > specified. If each job eats say up to 2G when it gets going, then -j32 |
4 | > will |
5 | > require >64G RAM to keep running without thrashing the swap device, or |
6 | > running |
7 | > OOM. |
8 | > |
9 | |
10 | Yes agree. If the swapfile is on an SSD then there's no thrashing. For me |
11 | the swap file only gets used on big builds and /proc/sys/vm/swappiness is |
12 | tweaked via /etc/sysctl.conf so SSD wear is not a big concern. |