On Tue, 21 Mar 2006 17:50:06 -0700 simon <[EMAIL PROTECTED]> wrote: > "xw ma" <lithorse gmail com> wrote: > > > hi,guys,i get in trouble when i try to compile opal-2.2.1,here is the > > error message > > > > > cc1plus: out of memory allocating 141255700 bytes after a total of > > 13746176 bytes > > I am getting the same happening on Debian Stable (+backports) with > 512MBytes RAM! > > Even in single user mode, with as many kernel modules removed as > possible it still burps..... > > --- > top - 19:49:18 up 15 min, 0 users, load average: 0.04, 0.26, 0.15 > Tasks: 26 total, 1 running, 25 sleeping, 0 stopped, 0 zombie > Cpu(s): 8.8% us, 1.1% sy, 0.0% ni, 86.7% id, 3.3% wa, 0.0% hi, > 0.0% si > Mem: 515992k total, 21064k used, 494928k free, 928k buffers > Swap: 337324k total, 4940k used, 332384k free, 5076k cached > --- > > g++ is version 3.3.5 > > Does this mean that something is wrong?
Probably, yes :) I recently compiled an opt version of the head revision of opal and pwlib on my RedHat 9 box with only 256M of real RAM, using gcc 3.3.4. I'll repeat this with gcc 3.3.5 once I finish downloading it, but I don't expect anything different. The figures above show that you don't have very much swap space. My rule of thumb is to have at least twice as much swap as real memory. In fact, my box described above has 1G of swap, whereas you have less swap than real memory. Try adding some more swap space (use "swapon" to do this) and try again. I recommend at least 1G of swap, as you have 512M of RAM Craig ----------------------------------------------------------------------- Craig Southeren Post Increment VoIP Consulting and Software [EMAIL PROTECTED] www.postincrement.com.au Phone: +61 243654666 ICQ: #86852844 Fax: +61 243673140 MSN: [EMAIL PROTECTED] Mobile: +61 417231046 "It takes a man to suffer ignorance and smile. Be yourself, no matter what they say." Sting _______________________________________________ GnomeMeeting-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
