<?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="2002/07/dbfec6e6c78b9bded48851c3df37c4cd"
  from="Yaron M. Minsky &lt;yminsky@C...&gt;"
  author="Yaron M. Minsky"
  date="2002-07-12T00:15:39"
  subject="Re: [Caml-list] Out-of-memory faults and other cygwin issues"
  prev="2002/07/3998b4f8a6bcd42dfd813bab6ceab773"
  next="2002/07/b24ddcb6b77c10a5bc5756a44a502865"
  prev-in-thread="2002/07/3998b4f8a6bcd42dfd813bab6ceab773"
  next-in-thread="2002/07/1cae46f000eae6265af63fc4f16d7bc5"
  prev-thread="2002/07/f73aa69f24206e81ba402635bcb20ea7"
  next-thread="2002/07/4e07fd5ea13c7b76f164f1ee5265fa6c"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Out-of-memory faults and other cygwin issues">
<msg 
  url="2002/07/3998b4f8a6bcd42dfd813bab6ceab773"
  from="Yaron M. Minsky &lt;yminsky@C...&gt;"
  author="Yaron M. Minsky"
  date="2002-07-11T23:52:33"
  subject="[Caml-list] Out-of-memory faults and other cygwin issues">
<msg 
  url="2002/07/dbfec6e6c78b9bded48851c3df37c4cd"
  from="Yaron M. Minsky &lt;yminsky@C...&gt;"
  author="Yaron M. Minsky"
  date="2002-07-12T00:15:39"
  subject="Re: [Caml-list] Out-of-memory faults and other cygwin issues">
</msg>
<msg 
  url="2002/07/1cae46f000eae6265af63fc4f16d7bc5"
  from="Basile STARYNKEVITCH &lt;basile@s...&gt;"
  author="Basile STARYNKEVITCH"
  date="2002-07-12T06:05:59"
  subject="[Caml-list] Out-of-memory faults and other cygwin issues">
<msg 
  url="2002/07/b24ddcb6b77c10a5bc5756a44a502865"
  from="Yaron M. Minsky &lt;yminsky@C...&gt;"
  author="Yaron M. Minsky"
  date="2002-07-12T01:22:35"
  subject="Re: [Caml-list] Out-of-memory faults and other cygwin issues">
</msg>
</msg>
<msg 
  url="2002/07/b6e4e7a43ccd8fc154fb4bdd8fc4711e"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2002-07-12T13:58:18"
  subject="Re: [Caml-list] Out-of-memory faults and other cygwin issues">
</msg>
</msg>
</thread>

<contents>
One possibly thing I neglected to mention: I've been compiling with
ocamlopt.

On Thu, 2002-07-11 at 19:52, Yaron M. Minsky wrote:
&gt; Does anyone know what triggers ocaml to crash on an "out-of-memory"
&gt; error?  I'm currently using ocaml on cygwin, and I find that my program
&gt; often crashes after the memory size reaches about ~200 megs.  This
&gt; happened on a machine with a gig of ram and that didn't have all that
&gt; much else running.
&gt; 
&gt; Another thing I've noticed is that ocaml doesn't seem to collect memory
&gt; at the times I expect it to.  In particular, after clearing all
&gt; references to the big memory structures and running Gc.full_major and
&gt; Gc.collect (in that order), the memory size (as measured by the Windows
&gt; task manager) doesn't immediately go down.  It's possible that I've
&gt; neglected to clear my memory references, but I don't think that's it. 
&gt; 
&gt; Another odd and regrettable thing I've noticed about ocaml-on-cygwin is
&gt; that when it crashes with a stack error, on cygwin it does so
&gt; silently--no error message at all.  Anyone know if this is something
&gt; that can be worked around?
&gt; 
&gt; Thanks in advance,
&gt; y
&gt; 
&gt; -- 
&gt; |--------/            Yaron M. Minsky              \--------|
&gt; |--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|
&gt; 
&gt; Open PGP --- KeyID B1FFD916 (new key as of Dec 4th)
&gt; Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916
&gt; 
&gt; -------------------
&gt; To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
&gt; Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
&gt; Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
-- 
|--------/            Yaron M. Minsky              \--------|
|--------\ http://www.cs.cornell.edu/home/yminsky/ /--------|

Open PGP --- KeyID B1FFD916 (new key as of Dec 4th)
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916

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

