Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by mihirjha (Novice)
on Jan 11, 2008 at 07:34 UTC ( [id://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

Replies are listed 'Best First'.
Re^3: How to return unused memory to OS?
by eyepopslikeamosquito (Archbishop) 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 (malloc implementation)) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://661825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-03-19 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found