This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GGC_QUIRE_SIZE change


On Tue, Aug 29, 2000 at 10:18:04AM -0400, Richard Kenner wrote:
> It's causing problems for me on DEC Unix 4.0C.  When I have a program that
> uses sufficient memory (in this case it's in Ada), the mmap fails with
> ENOSPACE.  I've spent a lot of time in the debugger and everything looks
> OK, but it does fail.  Setting GGC_QUIRE_SIZE to 1 "fixes" it.
> 
> Does anybody have any idea what's going on?

How much memory has been allocated already when it fails?  Do you
think it would work to fall back to 1-page allocations if a 16-page
mmap() returns ENOSPACE?

zw

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]