Skip to content

Forking a 4 GB process on a 6 GB machine

A process using 4 GB of memory calls fork() on a machine with 6 GB. The call succeeds immediately and total memory use barely moves.

Why?