G
gaurish.panse
This is more about the OS than about C++.
How does the OS (*nix) keeps track of the heap memory allocated to each
process? If the OS knows the memory consumed by each process, does it
automatically releases the memory upon process termination/kill? if
not, why not ?
How does the OS (*nix) keeps track of the heap memory allocated to each
process? If the OS knows the memory consumed by each process, does it
automatically releases the memory upon process termination/kill? if
not, why not ?