Memory usage

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Fri Apr 30 23:15:00 GMT 1999


On Mon, 5 Apr 1999 jakob@ostenfeld.dk wrote:
> Yet, the g++ compiler consumes more than 500 MB of memory when compiling
> this with any optimization option above -O0.   No warning and no debugging
> info options given.

I failed to notice the version of egcs you are using. If it happens to be
anything less than 1.0.3, you definitely should upgrade, though I strongly
recommend going to 1.1.2, as you are doing template heavy C++ code.

Early releases of egcs (1.0 and 1.0.1 for sure) and gcc 2.8.0 as well as
gcc 2.8.1 exhibited similiar behavior for some of my projects as well, but
Mark Mitchell provided a fix which made it into 1.0.3.

I'd be interested to see whether upgrading made a difference for you...

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/




More information about the Gcc-bugs mailing list