in reply to Memory Usage with fork() on Linux

I can confirm that yes, on Linux when the forked process exits (or even if it dies unexpectedly) all the memory it is using will be returned to the operating system.