Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Clearing an Array of Array's from memory

by hardburn (Abbot)
on Aug 29, 2003 at 16:50 UTC ( #287748=note: print w/ replies, xml ) Need Help??


in reply to Re: Clearing an Array of Array's from memory
in thread Clearing an Array of Array's from memory

Freed variables are made available for other variables. The system only gets it back when the process ends.

Update: Fixed typo.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated


Comment on Re: Re: Clearing an Array of Array's from memory
Re: Re: Re: Clearing an Array of Array's from memory
by Elian (Parson) on Aug 29, 2003 at 17:20 UTC
    This is incorrect. Whether the freed space is returned to the operating system is OS, OS version, C library, and allocation size dependent. Memory is released back to the OS in many places, including Linux and Win32 (which are two of the more common OSes perl's used on)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2014-04-20 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls