in reply to Running out of resources while data munging
The hash will be emptied when processFile exits, unless you do something that prevents it from being freed (such as creating a circular reference or returning a reference to the hash).
The memory will be returned to Perl to reuse, but not necessarily to the OS. That means you should expect the memory usage to remain constant.
|
|---|