apr-2001 libstdc++ outstanding

Peter Schmid schmid@snake.iap.physik.tu-darmstadt.de
Tue May 8 06:05:00 GMT 2001


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



More information about the Libstdc++ mailing list