Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Re: Re: (MeowChow) Re: Looking for Leaks

by dragonchild (Archbishop)
on Aug 09, 2001 at 23:49 UTC ( [id://103600] : note . print w/replies, xml ) Need Help??

in reply to Re: Re: (MeowChow) Re: Looking for Leaks
in thread Looking for Leaks

In pure Perl, yes. In XS, it should be possible to iterate through the entire region of memory and see if anything has a valid reference. Also (and I'm stretching my memory here), isn't there a way in C to find out all the malloc'ed areas? You could compare that with the list of all reachable objects and see if there's a discrepancy...

/me wants to be the brightest bulb in the chandelier!

Vote paco for President!