Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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