Re: [Caml-list] Re: Being aware of memory overuse

2010-02-10 Thread Goswin von Brederlow
Sylvain Le Gall sylv...@le-gall.net writes: On 05-02-2010, David Rajchenbach-Teller david.tel...@mlstate.com wrote: Dear list, I'm writing some code that needs to be able to cope nicely with memory exhaustion. That is, it should be able to detect at some point if it is getting

Re: [Caml-list] Re: Being aware of memory overuse

2010-02-10 Thread Dario Teixeira
Hi, I always wanted to have kernel spport for this. Some way for aplication to tell the kernel about freeable memory and for the kernel to request some memory to be freeed instead of swapping it out. If I recall correctly, there was an Lwn.net article reporting a lkml (the Linux kernel

[Caml-list] Re: Being aware of memory overuse

2010-02-10 Thread Sylvain Le Gall
On 10-02-2010, Dario Teixeira darioteixe...@yahoo.com wrote: Hi, I always wanted to have kernel spport for this. Some way for aplication to tell the kernel about freeable memory and for the kernel to request some memory to be freeed instead of swapping it out. If I recall correctly, there