[Israel.pm] Memory leak: finding who to blaim
dovl at freescale.com
Tue Aug 22 02:53:21 PDT 2006
What type of daemon is this? What does it do? What modules does it call?
There are modules that are known to leak memory (such as Tk).
Generally speaking, I say that you should blame Gabor and get it over
DSP SoC System and Applications Engineer,
Network and Computing Systems Group
Freescale Semiconductor Israel
The information contained in this email is classified as:
[ ] Freescale General Business Information
[ ] Freescale Internal Use Only
[ ] Freescale Confidential Proprietary
[x] Personal Memorandum
From: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] On
Behalf Of Yona Shlomo
Sent: Monday, August 21, 2006 16:26
To: perl at perl.org.il
Subject: [Israel.pm] Memory leak: finding who to blaim
I have a daemon which seems to be leaking memory.
The daemon is written in Perl.
After reviewing the code of my obvious guesses and then
testing them separately in a test script (looping forever
over their functionality, while monitoring the memory
consumption of the test script over time), I ended up with
Now, I know it leaks memory (I see PS reporting more memory
Any suggestions how to easily pin point the guilty peace of
code without having to manually disecting my code into
little peaces that can be tested using a loop?
yona at cs.technion.ac.il
Perl mailing list
Perl at perl.org.il
More information about the Perl