This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Memory usage
- To: jakob at ostenfeld dot dk
- Subject: Re: Memory usage
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Thu, 8 Apr 1999 17:06:24 +0200 (MET DST)
- cc: egcs-bugs at egcs dot cygnus dot com
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/