[Pdx-pm] Recommendations for memory leak checking?

Eric Wilhelm scratchcomputing at gmail.com
Tue Jul 3 15:16:57 PDT 2007


# from Tom Phoenix
# on Tuesday 03 July 2007 03:03 pm:

>Of course, if you're programming in pure Perl, you shouldn't generally
>have to worry about leaking memory. You should have to worry only
>about buying memory. :-)

Bit of a terminology problem here.  Kevin is talking about variables 
that can't be garbage-collected until global cleanup due to circular 
references and Perl's reference-counting GC scheme.  See "Two-Phased 
Garbage Collection" in perlobj, weaken() in Scalar::Util and 
Devel::Cycle for more explanation.

--Eric
-- 
If the above message is encrypted and you have lost your pgp key, please
send a self-addressed, stamped lead box to the address below.
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------


More information about the Pdx-pm-list mailing list