Bugzilla::Leak - A simple memory examiner for Perl

mockodin at gmail.com mockodin at gmail.com
Mon Jul 5 03:40:02 UTC 2010


You mention modern versions of linux. How about Win or threaded apache instances (which also includes win). Also mod perl?
Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Max Kanat-Alexander <mkanat at bugzilla.org>
Sender: developers-owner at bugzilla.org
Date: Sun, 04 Jul 2010 03:19:26 
To: <developers at bugzilla.org>
Reply-To: developers at bugzilla.orgSubject: Bugzilla::Leak - A simple memory examiner for Perl

	Attached (if this list supports attachments--I forget) is a file called
Leak.pm. This is a tool I've developed over the last day or so to debug
memory usage in Perl. So far it's helped me quite a bit to figure out
two serious memory-usage issues. There is a comment at the top
explaining basically how it works.

	It's more of a hack that you can hack into your code than a polished
product. It probably won't handle every situation, but I suspect that it
will work pretty well for Bugzilla code, given the sort of stuff that we
usually have in memory.

	Oh, also, it only works on relatively modern versions of Linux. (RHEL5
or more recent.)

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.



More information about the developers mailing list