Anyway I would like to write a test running the relevant function in a loop and checking the total memory use of my script before and after. I would like to do it in some platform independent way (at least among Unix/Linux and the like) and preferable to have it in a Perl module so I can just write a simple test.
Is there any module out there to report total memory usage of the current script? If not what tool is there to do it?
Update:
Thanks to McDarren I found Proc::ProcessTable that
solved the problem.
In reply to total memory usage of process by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |