Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Out of memory error
Date: Sat, 19 Nov 2011 12:26:57
Message-Id: CA+czFiBqkmna4MsPUCr96UcpQYP_=0U6=3xvWKVPFwrDO3UdnQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Out of memory error by Mick
1 On Nov 19, 2011 6:31 AM, "Mick" <michaelkintzios@×××××.com> wrote:
2 >
3 > On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:
4 > > On 11/18/2011 07:42 PM, Mick wrote:
5 > > > I've changed the title ever so slightly. I am getting an out of
6 memory
7 > > > error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the
8 > > > kernel.
9 > > >
10 > > > The error as far as firefox is concerned is the same. Is this a
11 firefox
12 > > > bug, or is my decrepit old laptop incapable of compiling Firefox ...
13 > > >
14 > > > Am I the only one suffering from this?
15 > >
16 > > How much RAM do you have? How big if your swap?
17 >
18 >
19 > # free
20 > total used free shared buffers cached
21 > Mem: 640392 133084 507308 0 81360 23972
22 > -/+ buffers/cache: 27752 612640
23 > Swap: 257004 6156 250848
24 >
25 > May not be much by today's standards, but I never had an out of memory
26 error
27 > that I can recall just compiling packages in the past.
28
29 You've never compiled OOo or chromium on that box, have you? Chromium alone
30 takes 4GB on my box at the final link step.
31
32 Have you changed your CFLAGS since the last time you succesfully built FF?
33 Is -g new? Consider switching to -Os; it won't solve the immediate problem,
34 but it may help reduce overall system pressure by keeping binaries smaller.
35 Also look at adding "splitdebug" to FEATURES. Perhaps adding 2-3GB of swap.
36
37 What about any new or larger apps consuming system RAM? What does free -m
38 show before your emerge?
39
40 And, finally, yeah..that isn't just "not much", that's a terribly small
41 amount of memory. Assuming you've kept the software current, some of your
42 applications have certainly not been maintained with 600MB of system memory
43 in mind.

Replies

Subject Author
Re: [gentoo-user] Re: Out of memory error Pandu Poluan <pandu@××××××.info>