News for hackers. Stuff that matters.
Re:How The Kernel Manages Your Memory by ot on Wednesday March 16, 2011 @02:49PM (#2333338)
AFAIK there is a difference between Linux and NT: Linux allows overcommitting, while NT requires that every page has a "backing store", for example a physical RAM page, a swap page or a memory mapped file.

Thus when you touch the page, Linux may figure out that there is no memory that page can be mapped to it, but now it is too late because the application "believes" that the memory has been allocated. So the kernel kills the application (or, to be correct, an application) too free memory with an OOM exception. This is one of the reasons why it is good to have loads of swap even if the physical RAM is big enough for all the running processes.

Re:How The Kernel Manages Your Memory by nitrogen on Thursday March 17, 2011 @04:26AM (#2335455)
Or, if you know you won't be running applications that allocate more than they use, you can disable overcommission entirely.