Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?

Replies are listed 'Best First'.
Re^3: How to return unused memory to OS?
by eyepopslikeamosquito (Chancellor) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://661825]
[jedikaiti]: SuicideJunkie++ #Apgrade is the highest point it will reach. They're informing you that it will all be downhill from here until the software hits a PEgrade, or impacts the terrain depending on the details of the orbit.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2017-07-25 18:50 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (377 votes). Check out past polls.