in reply to Re: Re: Garbage Collection on Hash delete
in thread Garbage Collection on Hash delete

Well I have to work within a Windows environment and use pre-compiled versions of PERL, so I don't know if my version of PERL (Activestate) is bright enough to release memory back to the pool.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

  • Comment on Re: Re: Re: Garbage Collection on Hash delete

Replies are listed 'Best First'.
Re: Re: Re: Re: Garbage Collection on Hash delete
by Elian (Parson) on Jan 13, 2003 at 23:30 UTC
    Windows is generally clever enough to reclaim unused space. Unused space will only get returned if an entire chunk is empty, though, which may not happen. Often a big allocation will be carved into several pieces, and if even one of those pieces isn't empty the memory won't get returned.