Re: Urgent: STL deque leaks memory

From: Carl Daniel [VC++ MVP] (cpdaniel_remove_this_and_nospam_at_mvps.org.nospam)
Date: 11/29/04


Date: Mon, 29 Nov 2004 06:26:46 -0800

Kavan wrote:
> Hello All,
>
> For the memory leak in STL <deque> I found out an email thread within
> the same group,
> http://groups.google.com/groups?hl=en&lr=&threadm=fxsWb.5807%24PY.4363%40newssvr26.news.prodigy.com&rnum=2&prev=/groups%3Fq%3Ddeque%2Bmemory%2Bleak%2Bfix%26hl%3Den%26lr%3D%26selm%3DfxsWb.5807%2524PY.4363%2540newssvr26.news.prodigy.com%26rnum%3D2
>
> I downloaded the header for the <deque> from
> http://www.dinkumware.com/vc_fixes.html which contains the above fix
> and built our binaries with it. It seems to remove all memory leaks.
> But its not a standard fix from Microsoft and we don't have any info
> on the fix for the same in any of the Visual Studio 6.0 service packs.
>
> I have installed Service Pack 6 for Visual Studio 6.0 but still memory
> leak exists if we don't use the header file above. So it means that
> the fix is not in the latest service pack also.

That's correct, unfortunately.

> If any body can give me info on any other standard fixes from
> Microsoft for the same it will be of great help as it is really
> urgent.

As far as I'm aware, there aren't any other non-MS fixes for VC++ other than
the STL fixes from Dinkumware.

Is there some particular problem other than STL fixes that you're
encountering?

-cd



Relevant Pages

  • Re: Memory leak in IE javascript with webservice.htc
    ... IE has lots of memory leaks, not surprising that that there is a leak ... calling xmlhttp. ... I doubt that any fix will be coming, as the soap behavior ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Memory leak in IE javascript with webservice.htc
    ... IE has lots of memory leaks, not surprising that that there is a leak ... calling xmlhttp. ... I doubt that any fix will be coming, as the soap behavior ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: MS ADO Memory Leak FIX (at last??) for VB6
    ... > Is this finaly the fix fot the long lasting memory leaks? ... in your code you are allowing/causing the recordset to implicitly create ... its connection (by setting ActiveConnection to a connection string instead ...
    (microsoft.public.vb.database.ado)
  • Re: Memory Leak with AnsiString
    ... > To turn the (IMO more intuitive) function into a procedure with a var ... One needs other alternatives to fix the problem. ... I'm not sure that would even fix the original problem of memory leaks. ... I would like to see this intuitive function fix you are talking about. ...
    (borland.public.delphi.non-technical)