This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: apr-2001 libstdc++ outstanding
- To: bkoz at redhat dot com
- Subject: Re: apr-2001 libstdc++ outstanding
- From: Peter Schmid <schmid at snake dot iap dot physik dot tu-darmstadt dot de>
- Date: Tue, 8 May 2001 16:05:39 +0200 (CEST)
- cc: libstdc++ at gcc dot gnu dot org
I tryed to reproduce your report of enormous memory consumption,
because of a memory leak in the string class, on the i686-pc-linux-gnu
target employing gcc version 3.1 20010428 as c++ compiler.
I used "-O2" for the optimisation level and ran the programs mentioned
in libstdc++/2517 and in your previous email.
The latter program ran for about two and a half minutes. I killed the
former program after twenty minutes. Each program uses 736 kB for SIZE
and 736 kB for RSS during the whole run. There is no increase in the
memory usage.
Therefore, I reckon that the memory leak is limited to some targets.
Hope this helps,
Peter Schmid