in reply to reduce reference count of hash

I properly (I think) remove the variable that contains the object when I'm done with it but it's memory does not free.

How are you measuring that? If you're looking at the Task Manager or running top, your application probably won't give memory back to the operating system.

Replies are listed 'Best First'.
Re^2: reduce reference count of hash
by perlseeker5 (Novice) on Feb 08, 2008 at 04:39 UTC
    Yes using top, but it keeps growing and then gets killed by OS after running for a while. Then using backticks I narrowed it down to the code segment that seemed to be causing it, and since it seems like a suspicious part of the code in that it's the only part that uses this 3rd party module I thought it might be it and investigated further which lead to my question about how to reduce the ref count of a hash that I only have a reference to.

    Thanks very much for all your replyes!