This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

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.


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