in reply to Memory Leak

Answers or right answers? I'll attempt one of the former.

Is your program under control of perlmod/Apache somehow and perhaps there is only one perl program ever running which, because it never finishes therefore never does things (close things) you assume happen at a program's end? And therefore your hash keeps accumulating new entries? Can you count the number of keys in your hash with each new invocation?

Brig