[ale] C++ memory leak
James Sumners
james.sumners at gmail.com
Wed Oct 11 09:38:47 EDT 2006
How about http://www.andreasen.org/LeakTracer/ ?
On 10/11/06, Jim <ale_nospam at fayettedigital.com> wrote:
> I'm about to go batty here. Maybe I am.
>
> I have a fairly complex application that uses a number of third party
> class libraries, all open source. I've got a slight memory leak. It
> seems to grab about a meg a day. I've attempted to locate the leak
> using a variety of methods including Electric Fence, setting the log to
> output almost all steps and including frequent memory checks to see what
> it is doing when the memory gets incremented. I pretty much haven't
> found a thing. The problem seemed to occur at random. I converted all
> of my pointers to boost smart pointers and am fairly sure I'm using them
> legally to eliminate a missing "delete" somewhere.
>
> I'm about to break down and purchase a package to help me, but I need to
> know what works. Does anyone have any experience with anything to chase
> down memory leaks in C++ apps? I did try an open source package but it
> was giving me bad data. I don't think the STL has any memory leaks,
> however this package accused it along with almost everything else. I
> don't recall the name of the package right now.
>
> Thanks for any tips.
>
> Jim.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
--
James Sumners
http://james.roomfullofmirrors.com/
"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list