This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Memory leaks?
- To: Mike Stump <mrs at wrs dot com>
- Subject: Re: Memory leaks?
- From: Tudor Hulubei <tudor dot hulubei at data dot ecora dot com>
- Date: Tue, 31 Aug 1999 20:00:17 -0400 (EDT)
- Cc: gcc at gcc dot gnu dot org
- Organization: ecora.com
- References: <199908312240.PAA14172@kankakee.wrs.com>
- Reply-To: Tudor Hulubei <tudor dot hulubei at data dot ecora dot com>
On Tuesday, 31 August 1999, Mike Stump wrote:
> Don't inline. I think you will find the problem goes away.
You mean removing -finline-functions? It didn't work.
> If that doesn't work, try and leave out -Wall.
That didn't work either.
I removed all the flags except -O3. That alone made cc1plus go to
almost 600Mb, when I decided to stop it. Same with -O2.
The only thing that kept egcs-1.1.2 under 200Mb was going down to -O1.
Compilation time was around 12min (Pentium III/450MHz, 256Mb RAM), but
hey, at least it worked :-).
Actually, c++ -O1 + all the other options and warnings enabled
remained around 200Mb.
Tudor