### Question 7.25

I have a program which `malloc`s and later `free`s 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 `free`d 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