1 |
On Mon, 2021-04-05 at 18:29 +0200, karl@××××××××.se wrote: |
2 |
> |
3 |
> So, how much memory does R need to build ? |
4 |
> I have: |
5 |
> |
6 |
> $ free |
7 |
> total used free shared buff/cache available |
8 |
> Mem: 6103628 1807560 2631444 146376 1664624 3107868 |
9 |
> Swap: 8788924 670108 8118816 |
10 |
> |
11 |
|
12 |
We have the same amount of RAM, but building dev-lang/R doesn't come |
13 |
close to using it all on my machine, even with MAKEOPTS="-j4"... |
14 |
|
15 |
> |
16 |
> I already have (in make.conf): |
17 |
> EMERGE_DEFAULT_OPTS="--jobs 1 ..." |
18 |
> |
19 |
> This seems to solved the issue: |
20 |
> # cat /etc/portage/env/j1 |
21 |
> MAKEOPTS=-j1 |
22 |
> # cat /etc/portage/package.env/R |
23 |
> dev-lang/R j1 |
24 |
|
25 |
That will work around the issue, and you may have to use that trick for |
26 |
some other packages like firefox/LLVM with "only" 6GB of RAM. But it |
27 |
doesn't explain why I can build dev-lang/R and you can't. |
28 |
|
29 |
What USE flags does "emerge -pv1 dev-lang/R" show? Are you willing to |
30 |
watch "htop" in another window while the dev-lang/R build fails to see |
31 |
how much memory is free? |