English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: [Caml-list] Strange Behaviour with Hashtables and Marshalling
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-07-25 (18:33)
From: Damien Doligez <Damien.Doligez@i...>
Subject: Re: [Caml-list] Strange Behaviour with Hashtables and Marshalling
>From: Amit Dubey <adubey@hopper.math.uwaterloo.ca>

>    (1) If I'm doing some processing, then I save a few relevant data
>structures to disk with Marshal, terminate, then restart, reload
>the data and then continue processing, I use significantly less memory than
>if I process everything without stopping.  I'd imagine with garbage
>collection, this wouldn't be a problem,

It looks like you have a fragmentation problem.  Try Gc.compact ().

-- Damien
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr