This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: apr-2001 libstdc++ outstanding



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]