ridiculous memory consumption in libstdc++ test suite

Nathan Sidwell nathan@codesourcery.com
Fri Apr 27 05:17:00 GMT 2001


Zack Weinberg wrote:

> FAIL: 21_strings/ctor_copy_dtor.cc (execution test), static
> FAIL: 21_strings/ctor_copy_dtor.cc (execution test), shared
> FAIL: 21_strings/insert.cc (execution test), static
> FAIL: 21_strings/insert.cc (execution test), shared
> FAIL: 22_locale/ctor_copy_dtor.cc (execution test), static
> FAIL: 22_locale/ctor_copy_dtor.cc (execution test), shared
> FAIL: 27_io/ios_members.cc (execution test), static

> 
> All the 21_strings failures are because I had to shoot the test
> process after it chewed up all the RAM on the machine and well into
> swap.  SIZE column in ps was >512MB in all cases.  The machine has
> 256 megs of real RAM and a gigabyte of swap.
I wonder, could this be related to bug 2517 which reports a 
memory leak with string class? I have not verified.

nathan

-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org



More information about the Gcc mailing list