Browse thread
Being aware of memory overuse
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Dario Teixeira <darioteixeira@y...> |
| Subject: | Re: [Caml-list] Re: Being aware of memory overuse |
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 mailing list) discussion on that subject. One of
the proposals was for the kernel to send processes a signal (SIGFREE?)
requesting they free up memory (by running a major GC, for example)
whenever memory was running low. In theory this could in some cases
avoid the invocation of the draconian OOM killer.
Question: just how effective such a feature would be in the Ocaml case?
Best regards,
Dario Teixeira