Alternatively (depending on the datatypes), try in in-memory[1] SQLite[2] 
database:


[1] http://www.sqlite.org/inmemorydb.html

[2] http://www.ocaml.info/home/ocaml_sources.html


Gaius



------------------

-----Original Message-----
From: Stéphane Glondu <[email protected]>
Date: Thu, 08 Dec 2011 07:04:19 
To: William Le Ferrand<[email protected]>
Cc: caml users<[email protected]>
Subject: Re: [Caml-list] Storing ocaml values outside ocaml's heap

Le 08/12/2011 05:35, William Le Ferrand a écrit :
> We are building a cache in ocaml and we're wondering if it would make
> sense to store ocaml values outside the reach of the gc. (gc on a 20GB
> cache hangs the process for a second or so).

Have you heard of the ancient [1] library?

[1] http://git.annexia.org/?p=ocaml-ancient.git;a=summary


Cheers,

-- 
Stéphane



-- 
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



-- 
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

Reply via email to