in reply to Re^2: Release memory in hash of hashes
in thread Release memory in hash of hashes

Perl does that for you, if you empty %hash all other items are freed automagically.