<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/01/152dfa1129cffd7fe8ca2b4193564c10"
  from="Damien Doligez &lt;damien.doligez@i...&gt;"
  author="Damien Doligez"
  date="2003-01-16T13:13:35"
  subject="Re: [Caml-list] Size limit on marshalling?"
  prev="2003/01/04cfd83a66964ee534585e7d9b3c2b41"
  next="2003/01/49346985c07b882018e2ad7569519596"
  prev-in-thread="2003/01/7d4610f16e08aad0001774d1862258d2"
  prev-thread="2003/01/b5d0186ce6e333fe2b6c01d25588830a"
  next-thread="2003/01/e79a9acfb922cdb850c2b11651201b4f"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Size limit on marshalling?">
<msg 
  url="2003/01/7d4610f16e08aad0001774d1862258d2"
  from="Yaron M. Minsky &lt;yminsky@C...&gt;"
  author="Yaron M. Minsky"
  date="2003-01-15T21:25:55"
  subject="[Caml-list] Size limit on marshalling?">
<msg 
  url="2003/01/152dfa1129cffd7fe8ca2b4193564c10"
  from="Damien Doligez &lt;damien.doligez@i...&gt;"
  author="Damien Doligez"
  date="2003-01-16T13:13:35"
  subject="Re: [Caml-list] Size limit on marshalling?">
</msg>
</msg>
</thread>

<contents>
On Wednesday, January 15, 2003, at 10:25 PM, Yaron M. Minsky wrote:

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

</contents>

</message>

