Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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

>    (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:  FAQ:
To unsubscribe, mail  Archives: