http://www.perlmonks.org?node_id=661830


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

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?