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]
Other format: [Raw text]

Re: Memory leak in ios.cc:326


Benjamin Kosnik wrote:

> There's one test case for callbacks, I'm using that. Looking at this on
> 3.2, with GLIBCPP_FORCE_NEW, everything looks ok. But on 3.4, I'm seeing
> some issues with constructing the locale cache for the standard streams.
> I suspect this is also the issue for 3.3.

Just to confirm what I'm seeing: the pthread3.exe test case on the 3.3
branch is leaking memory at a constant rate of about 2.5 MB/sec, topping
out at about 250 MB (on 32-bit) or 350 MB (on 64-bit).

Note that on CVS head, I do *not* see any memory leak in this test case,
it has a totally flat memory usage of about 1.5 MB.

Thanks for looking into this!

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand at informatik dot uni-erlangen dot de


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