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
ocaml+twt v0.90
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Olivier Andrieu <oandrieu@n...>
Subject: Re: [Caml-list] marshaling limits
On 1/17/07, Sebastien Ferre <> wrote:
> Hi,
> I get a segmentation fault when marshalling
> a large data structure. I could produce a file
> of ~30MB, but for a larger data structure of
> the same kind, I get a seg fault.
> Do you know of any limit in the marshalling
> functions w.r.t. size ?

Indeed, the marshalling/unmarshalling functions can overflow the
execution stack. You could try to increase maximum stack size for your
process (ulimit -s with a Unix shell).