in reply to Re: total memory usage of process
in thread total memory usage of process

The first one is for existing perl variables, not relevant in my case. Memchmark is promising, especially the Proc::ProcessTable module it is using internally.