On Nov 19, 2011 6:31 AM, "Mick" <michaelkintz...@gmail.com> wrote: > > On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote: > > On 11/18/2011 07:42 PM, Mick wrote: > > > I've changed the title ever so slightly. I am getting an out of memory > > > error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the > > > kernel. > > > > > > The error as far as firefox is concerned is the same. Is this a firefox > > > bug, or is my decrepit old laptop incapable of compiling Firefox ... > > > > > > Am I the only one suffering from this? > > > > How much RAM do you have? How big if your swap? > > > # free > total used free shared buffers cached > Mem: 640392 133084 507308 0 81360 23972 > -/+ buffers/cache: 27752 612640 > Swap: 257004 6156 250848 > > May not be much by today's standards, but I never had an out of memory error > that I can recall just compiling packages in the past.
You've never compiled OOo or chromium on that box, have you? Chromium alone takes 4GB on my box at the final link step. Have you changed your CFLAGS since the last time you succesfully built FF? Is -g new? Consider switching to -Os; it won't solve the immediate problem, but it may help reduce overall system pressure by keeping binaries smaller. Also look at adding "splitdebug" to FEATURES. Perhaps adding 2-3GB of swap. What about any new or larger apps consuming system RAM? What does free -m show before your emerge? And, finally, yeah..that isn't just "not much", that's a terribly small amount of memory. Assuming you've kept the software current, some of your applications have certainly not been maintained with 600MB of system memory in mind.