Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Size limit on 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] Size limit on marshalling?
On Wednesday, January 15, 2003, at 10:25 PM, Yaron M. Minsky wrote:

> First, I create a pointlessly large array, and then save it to disk:
[...]
> The resulting file is 38400025 bytes long.  Note that the length 
> appears
> to be critical.
[...]
> # let ar = (get_value "foo.val" : string array);;
> # let ar = ();;
> # Gc.compact ();;

This is a known bug (PR#1495) with compaction and demarshalling
of very large values.  It is already fixed in the development version.

Please contact me if you need a patch.

-- Damien

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners