[haiku-development] Re: Out of memory errors when virtual memory disabled

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 05 Dec 2011 20:48:38 +0100

Axel Dörfler wrote:
> On 05.12.2011 14:29, Rene Gollent wrote:
> [...]
> > bit more RAM than you might expect. When swap is enabled, the VM
> > allows overcommits since in the worst case it can page things out one
> > page at a time (extremely slow but it's at least doable, even with
> > just 1MB).

AFAIK overcommitting is unrelated to whether a swap file is available. A 1 MB 
swap file helps very little; it just means 1 MB of additional swappable memory 
can be committed.

> Sounds like we could also reserve some RAM to do that if there is no 
> swap file -- if someone would be interested enough to do that.

Now I'm confused.

CU, Ingo

Other related posts: