in reply to detrmining the amount of memory a perl process is using
Note, that malloc and especially free not always change amount of memory allocated to process. Have a look on valgrind and dmalloc if you're debugging memory allocation.