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