From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id pB89eBmO016127 for ; Thu, 8 Dec 2011 10:40:11 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMCAIqF4E6y71UIkmdsb2JhbABDDoR4lTGPG4ESIgEBAQEJCwsHEieBcgEBBQ8BExErDwsMBAUGEQMBAgMCCR0CAgJDAggIBgESCQmHdwakawFpkTiBNIJDhi6BFgSMdCmZPTc X-IronPort-AV: E=Sophos;i="4.71,319,1320620400"; d="scan'208";a="122552800" Received: from smtp03.bis7.eu.blackberry.com ([178.239.85.8]) by mail4-smtp-sop.national.inria.fr with ESMTP; 08 Dec 2011 10:40:09 +0100 Received: from b17.c4.bise7.blackberry ([192.168.0.117]) by srs.bis7.eu.blackberry.com (8.13.7 TEAMON/8.13.7) with ESMTP id pB89e8Zu031832; Thu, 8 Dec 2011 09:40:08 GMT Received: from 172.18.197.180 (cmp10.c4.bise7.blackberry [172.18.197.180]) by b17.c4.bise7.blackberry (8.13.7 TEAMON/8.13.7) with ESMTP id pB89e8rD030553; Thu, 8 Dec 2011 09:40:08 GMT X-rim-org-msg-ref-id: 1770551708 Message-ID: <1770551708-1323337208-cardhu_decombobulator_blackberry.rim.net-718717166-@b26.c4.bise7.blackberry> Reply-To: Gaius@Gaius.org.UK X-Priority: Normal References: <4EE05363.8080102@glondu.net> In-Reply-To: <4EE05363.8080102@glondu.net> Sensitivity: Normal Importance: Normal To: "=?Windows-1252?B?U3TpcGhhbmUgR2xvbmR1?=" , "William Le Ferrand" Cc: "caml users" From: "Gaius Hammond" Date: Thu, 8 Dec 2011 09:40:08 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by walapai.inria.fr id pB89eBmO016127 X-Validation-by: gaius@gaius.org.uk Subject: Re: [Caml-list] Storing ocaml values outside ocaml's heap 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 Date: Thu, 08 Dec 2011 07:04:19 To: William Le Ferrand Cc: caml users 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