Question 7.25

I have a program which mallocs and later frees a lot of memory, but memory usage (as reported by ps) doesn't seem to go back down.


Most implementations of malloc/free do not return freed memory to the operating system (if there is one), but merely make it available for future malloc calls within the same program.


Read sequentially: prev next up top


This page by Steve Summit // Copyright 1995 // mail feedback