Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Timing of garbage collection

by 7stud (Deacon)
on Jan 19, 2013 at 06:29 UTC ( #1014173=note: print w/ replies, xml ) Need Help??


in reply to Timing of garbage collection

In "Intermediate Perl 2nd Ed., p. 54", Randal Schwartz helps propagate the apparent myth that perl does not release memory back to the operating system:

Perl recycles the memory for the array only when all references (including the name of the array) go away. Here, Perl only reclaims memory when @skipper and all the references we created to it disappear. Such memory is available to Perl for other data later in this program invocation, and generally Perl doesn’t give it back to the operating system.


Comment on Re: Timing of garbage collection

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2014-12-26 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (173 votes), past polls