1 |
Richard Fish wrote: |
2 |
> BTW, -O3 uses *a lot* more ram to compile compared to -O2. Indeed, |
3 |
> gcc will sometimes take 200-500MB of RAM to compile a single C++ |
4 |
> module. So combined with MAKEOPTS=-j2, and only 512MB of RAM total, |
5 |
> yeah, I think you ran out of memory. |
6 |
> |
7 |
> In fact, you may want to drop to MAKEOPTS=-j1 permanently. Swapping |
8 |
> is simply not something you want to do when compiling...it is too damn |
9 |
> slow. If you run so many jobs that some get pushed to swap, it would |
10 |
> be far faster to run one job at a time without swapping! |
11 |
|
12 |
Thanks for the advice Richard! |
13 |
|
14 |
R |
15 |
-- |
16 |
gentoo-user@g.o mailing list |