This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More memory reductions on PR c++/12850
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: jh at suse dot cz (Jan Hubicka)
- Cc: gcc-patches at gcc dot gnu dot org, rth at redhat dot com
- Date: Wed, 28 Jan 2004 21:53:39 +0000 (GMT)
- Subject: Re: More memory reductions on PR c++/12850
> Still I am somewhat puzzled - the memory consumption after parsing whole
> file and releasing unnecesary things is about 60MB and then while
> expanding the functions the memory is not going down as one would expect
> after releasing the function bodies, instead it is rising slightly
>
> Any ideas why?
How are you measuring the memory consumption? If you just look at the
break, most malloc implementation will not move that back when you 'free'
memory, they just put the freed memory into a free list or other data
structure.