The memory will be 'released' when the process exits. Process sizes, as a rule, don't get smaller. The memory is allocated when you create the hash. If you delete it, the memory still belongs to the perl instance which can then reuse that memory for other things.
HTH, HAND.