Problem usage memory in C

For good reasons, virtually no memory allocator returns blocks to the OS Memory can only be removed from your program in units of pages, and even that is unlikely to be observed. calloc(3) and malloc(3) do interact with the kernel to get memory, if necessary. But very, very few implementations of free(3) ever return memory … Read more