There was a recent node on a similar topic - memory profiling - maybe it has some useful informations for you. Super Search will probably turn up more info as well.
Just a something something...
Comment on Re: Can I compute memory taken by a perl script?