Sometime in a Perl script we created
many data structures. It may contain simple one (Array or Hash) or complex (e.g AoAoA or HoHoA etc etc).
My question is, is there a simple way to measure-up
the total memory size used up by our script?
I know there is a Devel::Size module. But it only
measure the memory size one at a time for one particular
data structure. I can find the total size by summing them up.
What I am looking for is one single stroke to measure the total size. Is there one?
I hope I am asking a reasonable question. Thanks so much.