Re: [GnomeMeeting-list] Compiling Opal - Out of Memory



Hi,

> maybe i should swich to the debug version.

yes, you should. This would show if your compiling situation is close to 
correct.

You have still not answered my question.
   do you have multiple versions of opal/pwlib on your box.
  if you do, how have you ensured that you are including the correct
     .h files?


Derek.
===================================
On Thu, 23 Mar 2006, xw ma wrote:

> hi Craig,i have increase the  swap  space ,but i got the same error
> message,it looks like that the increased swap space doesn't make any
> influence,why?
> 
> maybe i should swich to the debug version.
> 
> top - 10:55:42 up  1:14,  1 user,  load average: 0.12, 0.38, 0.62
> Tasks:  74 total,   2 running,  72 sleeping,   0 stopped,   0 zombie
> Cpu(s):  0.0% us,  0.0% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
> Mem:    256936k total,   195572k used,    61364k free,     1636k buffers
> Swap:   587600k total,   156656k used,   430944k free,    55180k cached
> 
> 
> On 3/22/06, Craig Southeren <craigs postincrement com> wrote:
> >
> > On Tue, 21 Mar 2006 17:50:06 -0700
> > simon <simon mungewell org> 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
> > craigs postincrement com au                   www.postincrement.com.au
> >
> > Phone:  +61 243654666      ICQ: #86852844
> > Fax:    +61 243673140      MSN: craig_southeren hotmail com
> > Mobile: +61 417231046
> >
> > "It takes a man to suffer ignorance and smile.
> >   Be yourself, no matter what they say."   Sting
> >
> > _______________________________________________
> > GnomeMeeting-list mailing list
> > GnomeMeeting-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> >
> 

-- 
Derek Smithies Ph.D.                 Any fool can write code that 
IndraNet Technologies Ltd.                a computer can understand.        
Email: derek indranet co nz         Good programmers write code 
ph +64 3 365 6485                          that humans can understand.
Web: http://www.indranet-technologies.com/            Martin Fowler




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]