Gentoo Archives: gentoo-user

From: Alexey Eschenko <skobkin-ru@××.ru>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build
Date: Thu, 13 Jun 2019 10:19:34
Message-Id: 25001561560421164@sas2-22600713dea1.qloud-c.yandex.net
1

Hi.

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 no problems with Firefox/Chromium/Libreoffice builds.

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: https://cp.skobk.in/2096/ae027ec300f014f6

Also I have something like this in the kernel log:

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
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
Jun 13 12:42:24 skobkin-pc kernel: oom_reaper: reaped process 39585 (cc1plus), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

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)? �� Thanks in advance.

Replies

Subject Author
Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build tedheadster <tedheadster@×××××.com>
Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build Pouru Lasse <lasse.pouru@××××××××××××.fi>
Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Not enough RAM for dev-qt/qtwebengine build Kai Peter <kp@×××××××××××××××.org>