ancientversion

Use data structures larger than available memory

This module allows you to use in-memory data structures which are larger than available memory and so are kept in swap. If you try this in normal OCaml code, you'll find that the machine quickly descends into thrashing as the garbage collector repeatedly iterates over swapped memory structures. This module lets you break that limitation. Of course the module doesn't work by magic :-) If your program tries to access these large structures, they still need to be swapped back in, but it is suitable for large, sparsely accessed structures.

Secondly, this module allows you to share those structures between processes. In this mode, the structures are backed by a disk file, and any process that has read/write access that disk file can map that file in and see the structures.

AuthorRichard Jones et.al.
Published
Homepagehttps://github.com/UnixJunkie/ocaml-ancient
Issue Trackerhttps://github.com/UnixJunkie/ocaml-ancient/issues
Maintainerunixjunkie@sdf.org
Dependencies
Source [http] https://github.com/UnixJunkie/ocaml-ancient/archive/0.9.1.tar.gz
sha256=e9003ee2f2d9e23153fb4189cd18a25a6b6931a8712510a382ded009fffbdec6
md5=4c6cd6a03f675b1972c0bb5a6f06b99b
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ancient/ancient.0.9.1/opam
Optionally used by