This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GGC_QUIRE_SIZE change
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: GGC_QUIRE_SIZE change
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Tue, 29 Aug 2000 09:02:12 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <10008291418.AA13863@vlsi1.ultra.nyu.edu>
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