Hi Everyone
I read the following document about OpenBSD new malloc.
http://www.openbsd.org/papers/eurobsdcon2009/otto-malloc.pdf
On the page 17 it says that  "Regions free'ed are kept for later reuse."
I have a long living program which do alot of malloc and free. I want
free'ed memory to be returned back to the OS. How can i do that?  is there
any equivalent function like malloc_trim in openBSD?

Thanks

Reply via email to