|
|
|
|
|
by akdev1l
102 days ago
|
|
Linux can be configured to disable memory overcommit sysctl -w vm.overcommit_memory=2
sysctl -w vm.overcommit_ratio=50 It is probably a bad idea to do that though as it will limit the amount of virtual address space an application can use |
|
In the short time between fork() and execve(), the new process duplicates the entire virtual memory of the old one. None of this is physically allocated due to copy-on-write, but still all counts as virtual memory.