On Thu, Dec 08, 2011 at 09:04:50AM +0000, Anil Madhavapeddy wrote: > I think Ancient is exactly what you're looking for. > > Just disable swap (which you should do anyway on a big modern server), and it > will let you keep in-memory, out-of-heap OCaml values that don't get scanned > by > the GC. [...]
Completely disabling swap can crash the system. Better just fine tune it, so that it uses swapping less often. => on Linux swappiness can be set via /proc: /proc/sys/vm/swappiness Ciao, Oliver -- Caml-list mailing list. Subscription management and archives: https://sympa-roc.inria.fr/wws/info/caml-list Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs
