Comments about OOM killer, for fun only :)# Programming - 葵花宝典
t*c
1 楼
The OOM killer exists because the Linux kernel, by default, can commit to
supplying more memory than it can actually provide. Overcommitting memory in
this way allows the kernel to make fuller use of the system's resources,
because processes typically do not use all of the memory they claim. As an
example, consider the fork() system call, which copies all of a process's
memory for the new child process......
Not everybody agrees that this is a fruitful use of developer time. Andries
Brouwer came
supplying more memory than it can actually provide. Overcommitting memory in
this way allows the kernel to make fuller use of the system's resources,
because processes typically do not use all of the memory they claim. As an
example, consider the fork() system call, which copies all of a process's
memory for the new child process......
Not everybody agrees that this is a fruitful use of developer time. Andries
Brouwer came