Pstack has asked for the wisdom of the Perl Monks concerning the following question:
Hi to the hallowed!
I have had occasion to use Devel::LeakTrace::Fast in the head script of a suite and carped some interesting stats. Well, what to make of the stats is my current query.
Over 65,000 "leaks" are reported (the log is 5mb). Several thousand are from my own code, and there are some from installed modules also. A few questions to get me started occur straight away:
1. Are these "leaks" lost to the host system (reducing available memory until rebooted), or are they internal to perl in the sense they will be recovered by the host system when perl exits?
2. What significance should I otherwise attach to the stats. particularly the quantity involved.
3. Are the authors of leaky modules likely to be interested in hearing from me ..(over 5000 are recorded against Exporter.pm)..?
For some background, I am attempting to track down cumulative system degradation. KDE slows excruciatingly once the "free memory" reported by KSysGuard goes under 20mb, and I have noticed that then the "cache memory" and "buffer memory" reported has usually grown to a total over 300mb. This may not be anything to do with Perl, of course, but thought it a good place to start looking for eliminations!
I remain your wisdom sponge in these matters.
Pstack
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: memory sieve discovery
by hipowls (Curate) on Jan 18, 2008 at 22:49 UTC | |
by Pstack (Scribe) on Jan 18, 2008 at 23:32 UTC | |
|
Re: memory sieve discovery
by Anonymous Monk on Jan 19, 2008 at 02:31 UTC | |
by Pstack (Scribe) on Jan 19, 2008 at 05:08 UTC | |
by Corion (Patriarch) on Jan 19, 2008 at 13:22 UTC | |
by Pstack (Scribe) on Jan 19, 2008 at 21:05 UTC | |
by grinder (Bishop) on Jan 19, 2008 at 12:10 UTC | |
by Pstack (Scribe) on Jan 19, 2008 at 20:39 UTC | |
by syphilis (Archbishop) on Jan 19, 2008 at 10:56 UTC | |
by Pstack (Scribe) on Jan 19, 2008 at 20:20 UTC |