Does anyone have any good tips or resources for tuning a Perl script with reference to the amount of memory it consumes? As I am not a software developer, I tend not to pay much attention to the amount of memory my scripts use - as long as they work. Of course, I've now written one that doesn't work because it dies when it runs out of memory, hence this node :-)
Where do I start with the process of eliminating wasteful memory usage? What is the best way to track down memory leaks? How do I measure the amount of memory being used at any point in time? How do I free up memory (e.g. objects) I no longer need?
Any pointers? Thanks.
In reply to Improving memory performance by ezekiel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |