Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by mihirjha (Novice)
on Jan 11, 2008 at 07:34 UTC ( #661825=note: print w/ replies, xml ) Need Help??


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

I am running my application on Linux and Solaris


Comment on Re^2: How to return unused memory to OS?
Re^3: How to return unused memory to OS?
by eyepopslikeamosquito (Canon) on Jan 11, 2008 at 07:47 UTC

    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://661825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2014-09-21 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (165 votes), past polls