Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re: Garbage Collection on Hash delete

by Elian (Parson)
on Jan 13, 2003 at 02:58 UTC ( #226380=note: print w/replies, xml ) Need Help??

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

Perl will release memory back to your C runtime library. Depending on what that is, memory may well get released back to the system. This has worked for years on VMS and MacOS, and reasonably recent versions of glibc will also release memory in some circumstances back to the system.
  • Comment on Re: Re: Garbage Collection on Hash delete

Replies are listed 'Best First'.
Re: Re: Re: Garbage Collection on Hash delete
by CountZero (Bishop) on Jan 13, 2003 at 22:10 UTC

    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.


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

      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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://226380]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2020-12-03 01:59 GMT
Find Nodes?
    Voting Booth?
    How often do you use taint mode?

    Results (49 votes). Check out past polls.