http://www.perlmonks.org?node_id=614766


in reply to hash memory usage?

What you want is Devel::Size.