Postmortem Memory Profiling with Perl 11
Irish writes "Problems with memory, such as leaks and memory-greedy applications can cause many problems for application developers; more so for wireless applications due to the prevalence of memory-constrained devices as platforms. This article shows you how to avoid memory problems and it shows how to use Perl script to analyze memory issues for later repair. It offers three progressively more sophisticated solutions to demonstrate the concept."
What you learn from reading the title, only: (Score:5, Funny)
CSI is going to be very boring now.
Re:What you learn from reading the title, only: (Score:2)
Isn't it ironic? (Score:2, Funny)
Re:Isn't it ironic? (Score:2, Insightful)
No, it isn't. It would be ironic if Perl itself, the interpreter, was full of memory leaks and buffer overflows or if the language forced you to do your own error-prone memory management, but neither of which is the case.
Perl, the interpreter, is one of the most stable pieces of software I've ever used, virtually devoid of buffer overflows and memory leaks, and it takes care of all of the memory management for you.
Re:Isn't it ironic? (Score:2)
I agree that the interpreter is very stable and has very few problems. I like Perl quite a
Re:Isn't it ironic? (Score:1)
Neither would I, but that still doesn't make it ironic [everything2.com].
$ make senseExcuse me.. (Score:4, Insightful)
We've had this kind of memory leak tracing for ages (simple C++ macro's to wrap around 'new' and 'delete' is one example)
Ok, so we're doing it externally with perl now, yay.
And by the way:
If you need to edit the source, then why use an external script in the first place?
Reinventing the wheel (Score:5, Informative)
http://www.cbmamiga.demon.co.uk/mpatrol/mpa