Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Freeing memory used by arrays

by Art_XIV (Hermit)
on Dec 04, 2003 at 16:02 UTC ( [id://312231]=note: print w/replies, xml ) Need Help??


in reply to Freeing memory used by arrays

Yet Another Explanation: Your script HAS 'freed' the memory and will make use of the 'freed' memory if it can. But your process is going to keep the memory allocated for it's own purposes unless the OS requests that it free up some.

This is common behavior with interpreted and byte-code-based languages.

Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"

Replies are listed 'Best First'.
Re: Re: Freeing memory used by arrays
by Anonymous Monk on Dec 04, 2003 at 22:05 UTC
    In Java you can set an upper limit on how much memory java can consume. I wish perl had this feature.
        Why? I wish perl had the same feature, don't you think it would be useful?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-19 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found