Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: How to return unused memory to OS?

by CountZero (Bishop)
on Jan 11, 2008 at 22:08 UTC ( [id://661999]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to return unused memory to OS?
in thread How to return unused memory to OS?

Most interesting and as usual I have to bow before your superior knowledge of these things.

I will just add that I never saw the memory used by my Perl scripts get released back to the OS, but that may say more about my scripts than anything else. I have few long running scripts (except some mod_perl applications) so that may be the reason and I try to be parsimonious with memory so there is probably never enough in one block that can get released back to the OS.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re^3: How to return unused memory to OS?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found