Thomas Trepl wrote:
Am 2017-12-13 13:39, schrieb Thomas Trepl:
hi all,

I'm currently trying to compile version 5.10 but it seems my machine
is too small. It is a VBox-VM with 2GB RAM, 2GB swap partition but
compilation failed with "virtual memory exhausted". I increased the
mem to 3 GB but it looks like the process runs in same situation
(currently at 13957/21739 targets to compile).

This is 'top' right now:

top - 13:14:03 up  1:19,  2 users,  load average: 7,32, 7,33, 7,18
Tasks: 129 total,   1 running,  84 sleeping,   0 stopped,   0 zombie
%CPU0  :  0,0 us,  0,0 sy,  0,0 ni,  0,0 id,100,0 wa,  0,0 hi,  0,0 si,
 0,0
%CPU1  :  0,0 us,  0,7 sy,  0,0 ni,  0,0 id, 98,0 wa,  0,0 hi,  1,3 si,
 0,0
%CPU2  :  0,0 us,  0,0 sy,  0,0 ni,100,0 id,  0,0 wa,  0,0 hi,  0,0 si,
 0,0
%CPU3  :  0,0 us,  0,7 sy,  0,0 ni,  0,0 id, 96,7 wa,  0,0 hi,  2,6 si,
 0,0
KiB Spch:  3084404 total,    57668 free,  3001192 used,    25544 buff/cache
KiB Swap:  2097148 total,    63060 free,  2034088 used.    14114 avail Spch

  PID USER      PR  NI    VIRT    RES  %CPU %MEM     ZEIT+ S BEFEHL
   48 root      20   0    0,0m   0,0m   0,7  0,0   0:09.14 D kswapd0
 4329 thomas    20   0  846,9m 308,6m   0,7 10,2   0:23.73 D cc1plus
 4332 thomas    20   0  853,5m 314,3m   0,7 10,4   0:22.28 D cc1plus
 4335 thomas    20   0  855,7m 285,3m   0,7  9,5   0:22.19 D cc1plus
 4559 thomas    20   0 1313,0m 809,5m   0,7 26,9   0:15.93 D cc1plus
    1 root      20   0    4,2m   0,1m   0,0  0,0   0:00.34 S init
    2 root      20   0    0,0m   0,0m   0,0  0,0   0:00.00 S kthreadd
    3 root      20   0    0,0m   0,0m   0,0  0,0   0:00.00 I kworker/0:0
    4 root       0 -20    0,0m   0,0m   0,0  0,0   0:00.00 I kworker/0:0H
    6 root       0 -20    0,0m   0,0m   0,0  0,0   0:00.00 I mm_percpu_wq
    7 root      20   0    0,0m   0,0m   0,0  0,0   0:03.29 S ksoftirqd/0
    8 root      20   0    0,0m   0,0m   0,0  0,0   0:05.08 I rcu_preempt
    9 root      20   0    0,0m   0,0m   0,0  0,0   0:00.00 I rcu_sched
   10 root      20   0    0,0m   0,0m   0,0  0,0   0:00.00 I rcu_bh
   11 root      rt   0    0,0m   0,0m   0,0  0,0   0:00.02 S migration/0
   12 root      rt   0    0,0m   0,0m   0,0  0,0   0:00.02 S watchdog/0
   13 root      20   0    0,0m   0,0m   0,0  0,0   0:00.00 S cpuhp/0

I added another GB swapfile right now (so total swap is 3GB) Lets see
whether this helps.

Btw, QT-5.10 compiled fine with 2GB/2GB. How are your machines
dimensioned to compile qtwebengine?

My development system has 16G so I didn't notice the issue. From the above, the four cc1plus are using almost 3.9G of VIRT space. You can try adding even more swap space or decreasing the -j value you are using.

Yes, it is a huge package. One of the largest in BLFS. I think only chromium is larger.

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to