On Fri, Mar 5, 2010 at 6:27 PM, Lyle <[email protected]> wrote:
> I there a set procedure, toolset, etc, any of you have for testing for, > dealing with memory leaks? Data::Structure::Util can detect and automatically break circular links (by weakening) with the simple "has_circular_ref" and "circular_off" functions respectively.. Devel::Leak can be used to work out what variables are allocated at various points in your code, and thus can be used to identify what has been allocated since the last call (and hence what has leaked) Devel::LeakTrace can pretty much do the same thing, but actually will track down what is leaking - but it's a lot slower as it actually has to hook Perl's op-loop dispatcher to do this. HTH Mark. _______________________________________________ BristolBathPM mailing list [email protected] http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm
