Requesting 'real' memory
Posted Feb 1, 2008 20:14 UTC (Fri) by
giraffedata (subscriber, #1954)
In reply to:
Requesting 'real' memory by zooko
Parent article:
Avoiding the OOM killer with mem_notify
You can set sys.vm.overcommit_memory to policy #2. Unfortunately, it isn't entirely clear
that this will banish the OOM killer entirely, or if it will just make it very rare.
It's entirely clear to me that it banishes the OOM killer entirely. The only reason the OOM killer exists is that sometimes the processes use more virtual memory than there is swap space to put its contents. With Policy 2, virtual memory isn't created in the first place unless there is a place to put the contents.
(
Log in to post comments)