Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build
Date: Thu, 13 Jun 2019 12:00:00
Message-Id: CAC=wYCF64SJLemn7WVdBYN1xXGDjs-no7m-tRh2rEx0+jgmQQQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build by Kai Peter
1 >
2 > You can use more swap (files) before buying more RAM.
3 >
4 >
5 I have been doing this too. It only get used during the big builds.
6
7 To create a 32G swap file and enable it (OP can do this now as the build
8 runs, to keep OOM away)
9 # fallocate -l 32G <swapfile> && chmod 600 <swapfile> && mkswap <swapfile>
10 && swapon <swapfile>
11
12 use 'watch free -m' to see if its being used. Then after the build is over,
13 delete it/add it to fstab/whatever

Replies

Subject Author
Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build Mick <michaelkintzios@×××××.com>