in reply to hash memory usage?

What you want is Devel::Size.