Gentoo Archives: gentoo-user

From: nunojsilva@ist.utl.pt (Nuno J. Silva)
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Near freezes during large emerges
Date: Tue, 18 Jan 2011 11:05:24
Message-Id: 87ipxmxzax.fsf@ist.utl.pt
In Reply to: Re: [gentoo-user] Near freezes during large emerges by Alan McKinnon
1 Alan McKinnon <alan.mckinnon@×××××.com> writes:
2
3 > Apparently, though unproven, at 03:39 on Monday 17 January 2011, William
4 > Kenworthy did opine thusly:
5 >
6 >> On Sun, 2011-01-16 at 17:26 -0800, Mark Knecht wrote:
7 >> > On Sun, Jan 16, 2011 at 5:13 PM, William Kenworthy <billk@×××××××××.au>
8 > wrote:
9 >> > > On Sun, 2011-01-16 at 14:41 -0800, Grant wrote:
10 >> ...
11 >>
12 >> > I think that's well worded. He has insufficient memory when emerging.
13 >> >
14 >> > If he's really running short of DRAM Then he might also do well to
15 >> > boot to a console and do his emerges there. No memory given over to
16 >> > other things like KDE or browsers, etc.
17 >> >
18 >> > I am a bit surprised though that a -j1 type emerge would be running
19 >> > out of memory on a 3GB machine. I just finished emerge updates on a
20 >> > desktop with 4GB and only used 2.5GB which includes KDE, FIrefox and a
21 >>
22 >> > number of other things:
23 >> I have a diskless 3GB ram atom system (mythtv frontend) and I have to
24 >> arrange swap over nbd for gcc and glibc emerges - others just get very
25 >> slow when getting to limits, or get flaky unless -j1 is used. Havent
26 >> tried OO on it yet :)
27 >
28 > I'M flabbergasted. 3G is really a gigantic amount of memory and yet the
29 > machine still runs out of the stuff?
30 >
31 > Something is seriously wrong somewhere when code does this. I know memory is
32 > cheap and all, but still ... that's just excessive
33
34 Well, GCC has issues like this, with the file insn-attrtab, which, I
35 suppose, is generated and processed at least twice (due to the bootstrap
36 nature of the GCC build process). Although there's not a specific value,
37 even with 512 MiB of ram it's still an issue - but it doesn't go that
38 far (3GB), it's only more critical because GCC is a key part of the
39 toolchain.
40
41 This just to say, well, it happens :-)
42
43 --
44 Nuno J. Silva
45 gopher://sdf-eu.org/1/users/njsg