Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2015-10-09 21:56 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (252 votes), past polls