Some aspect of GCC memory consumption increased by recent patch

Ben Elliston bje@au1.ibm.com
Wed Sep 29 05:29:00 GMT 2004


Jan Hubicka <jh@suse.cz> writes:

> up to 3% memory consumption increase looks pretty serious even
> tought we save some memory on generate-3.4.ii.  Is there some
> understanding why it happens and/or some hope that it will get
> solved?

I spent a bit of time thinking about this today.

Nathan, is it possible that the pre-allocation strategy for the
type-safe vectors is causing a higher than usual peak in memory
consumption?  I note that vec.h says "Reallocation causes an
exponential increase in vector size."

Ben



More information about the Gcc-regression mailing list