Out of memory errors when not out of memory ... what to do for OSF 4.0

Gareth Pearce tilps@hotmail.com
Wed Apr 17 19:09:00 GMT 2002



>
>On Wed, Apr 17, 2002 at 04:24:00AM +0000, Gareth Pearce wrote:
> > Hi,
> > I failed to find a gants report for this before... and now have 
>discovered
> > the solution to the cause of mmap returning out of memory, when plainly 
>the
> > system isnt out of memory, on OSF alpha 4.0
> > The problem is (seems to be) that OSF has system limits predefined at a 
>far
> > too low level, for a number of vm parameters.  including a maximum of 
>200
> > mem-maps per process.
>
>Is it possible for GCC to increase this limit at its own runtime, or
>is it a system-wide setting requiring privileges to adjust, or what?
>

It requires priviledges to change at runtime and perminant adjustment 
requires access to /etc/sysconfigtab.

In answer to rth's question - my ulimit style limits are identical before 
and after, now it works, before it didnt. (and nice to know about --with-gc 
thing, or would have been before now.) - I will look into whether the system 
command for accessing the information about mmap levels requires system 
priviledges - if so then I guess no configure stuffs.)


Regards,
Gareth

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



More information about the Gcc-bugs mailing list