Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to return unused memory to OS?

by BrowserUk (Pope)
on Jan 11, 2008 at 06:25 UTC ( #661814=note: print w/ replies, xml ) Need Help??


in reply to How to return unused memory to OS?

Which OS?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re: How to return unused memory to OS?
Re^2: How to return unused memory to OS?
by mihirjha (Novice) on Jan 11, 2008 at 07:34 UTC
    I am running my application on Linux and Solaris

      Linux should already return "large" (greater than 128K) memory blocks back to the OS since (as discussed in Re: Not able to release memory) it should already be using glibc 2.x ptmalloc (based on Doug Lea's malloc). My experience with Solaris is that its system malloc never returns memory back to the OS. Do you see any difference in memory behaviour between Linux and Solaris?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2014-07-31 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls