If you want to know how much is currently used by some structure, use Devel::Size.
In reply to Re: memory for array by kyle in thread memory for array by vit