Gentoo Archives: gentoo-user

From: Pouru Lasse <lasse.pouru@××××××××××××.fi>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build
Date: Thu, 13 Jun 2019 10:50:43
Message-Id: 87a7elrc7d.fsf@edu.turkuamk.fi
In Reply to: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build by Alexey Eschenko
1 Alexey Eschenko <skobkin-ru@××.ru> writes:
2
3 > Hi.
4 >
5 > For some time I have problems with dev-qt/qtwebengine (at least 5.12.3) build. As far as I can see it fails to build due to memory exhaustion. Although I have 32 GB of RAM (at least 20 of them is almost always free) looks like it's not enough. It's strange because I have
6 > no problems with Firefox/Chromium/Libreoffice builds.
7 >
8 > The build ends with full (32GB/32GB) memory usage and significant system lag (mouse/keyboard input, output, video and sound is freezing for ~10+ seconds) every time and then Portage is marking it as failed with something like this in the end of the logs:
9 > https://cp.skobk.in/2096/ae027ec300f014f6
10 >
11 > Also I have something like this in the kernel log:
12 >
13 > Jun 13 12:42:24 skobkin-pc kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-1.scope,task=cc1plus,pid=39585,uid=250
14 > Jun 13 12:42:24 skobkin-pc kernel: Out of memory: Killed process 39585 (cc1plus) total-vm:1715764kB, anon-rss:1615872kB, file-rss:0kB, shmem-rss:0kB
15 > Jun 13 12:42:24 skobkin-pc kernel: oom_reaper: reaped process 39585 (cc1plus), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
16 >
17 > It's the first time when I encountered a problem like this on my system and now I'm thinking how to deal with it. Has anyone dealt with this? Is there any solutions other than buying more RAM (I don't need more RAM for my work/entertainment right now)?
18 >
19 > Thanks in advance.
20
21 I can't really help with the problem, but I've built the same package
22 recently with just 4GB of RAM. (It takes a long time.) So most likely
23 it's something in your portage settings that's causing this.
24
25 - Lasse

Replies

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