[ale] C++ memory leak
Danny Cox
DCox at icc.net
Wed Oct 11 10:02:53 EDT 2006
Christopher,
On Wed, 2006-10-11 at 09:51 -0400, Christopher Fowler wrote:
> Is there something I can use for Perl. I've got this program that
> modules to do some of the heavy lifting. Over time the memory usage can
> go to almost 1GB. In my part of the code I can't see anything that
> would lead to a "leak". In this case a leak being a variable where I'm
> appending stuff and never deleting it.
While valgrind may do it, it may not, in that 'perl' itself isn't
leaking memory. I'd suggest checking cpan.org for a leak detector.
Sorry for the lame suggestion, but I just don't know off the top of my
head.
--
Daniel S. Cox
Internet Commerce Corporation
More information about the Ale
mailing list