in reply to Re^8: Memory leak question
in thread Memory leak question
Is there a good tool that I can use that will tell me every line number in the module where a variable was set to a new value and the old value was destroyed, but part of it hung around? Then, I could recursively destroy the old value before I created a new value (there's probably even a module to help me do this).
I'm the wrong person to ask. Most of the tools I've seen suggested for this--including Devel::LeakTrace & Devel::LeakTrace::Fast--don't run on my platform, so I've evolved other, source-code based, techniques.
I've seen many references to a *nix tool: valgrind, but I've no experience of it.
If you can send me a copy of your latest code, I could have a go using my limited techniques while you research the tools?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Memory leak question
by SBECK (Chaplain) on Oct 05, 2010 at 20:09 UTC | |
by BrowserUk (Patriarch) on Oct 05, 2010 at 20:29 UTC | |
by SBECK (Chaplain) on Oct 06, 2010 at 12:24 UTC | |
by BrowserUk (Patriarch) on Oct 06, 2010 at 14:33 UTC | |
by SBECK (Chaplain) on Oct 06, 2010 at 15:16 UTC | |
| |
by BrowserUk (Patriarch) on Oct 06, 2010 at 13:02 UTC |