On 05.12.2011 20:48, Ingo Weinhold wrote:
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.
Indeed; overcommitting just means you commit more memory than you really have -- no matter if it is backed up by RAM or swap.
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.
If Rene's suggestion of making more memory out of a one MB swap file would work, it would also work with RAM alone. But maybe I just have misinterpreted it :-)
Bye, Axel.