This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reducing memory consumption
- To: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Subject: Re: Reducing memory consumption
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 20 Mar 2000 06:40:57 -0700
- cc: mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <200003192042.VAA00809@loewis.home.cs.tu-berlin.de>you write:
> I can see the problem with the overhead of having page-aligned memory
> on systems which don't really support that. However, I don't see how
> garbage collection would increase memory consumption apart from that.
Very simple. We've created a partition in our memory space. ie, there
is the stuff that is managed by GC and the stuff that isn't. There
may be megabytes of contiguous memory held by GC waiting for reclaimation
but an xmalloc call can still fail.
jeff