prev up next   top/contents search

comp.lang.c FAQ list · Question 7.25

Q: I have a program which mallocs and later frees a lot of memory, but I can see from the operating system that memory usage doesn't actually go back down.

A: Most implementations of malloc/free do not return freed memory to the operating system, but merely make it available for future malloc calls within the same program.

Additional links: further reading

prev up next   contents search
about this FAQ list   about eskimo   search   feedback   copyright

Hosted by Eskimo North