From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id CAA11603; Fri, 12 Jul 2002 02:15:39 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA11615 for ; Fri, 12 Jul 2002 02:15:38 +0200 (MET DST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g6C0FbD29443 for ; Fri, 12 Jul 2002 02:15:37 +0200 (MET DST) Received: from user-0ccegbj.cable.mindspring.com ([24.199.65.115] helo=flapdragon.homeip.net) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17So5w-0004jr-00 for caml-list@inria.fr; Thu, 11 Jul 2002 17:15:36 -0700 Subject: Re: [Caml-list] Out-of-memory faults and other cygwin issues From: "Yaron M. Minsky" To: caml-list@inria.fr In-Reply-To: <1026431547.1216.46.camel@dragonfly.localdomain> References: <1026431547.1216.46.camel@dragonfly.localdomain> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 11 Jul 2002 20:15:35 -0400 Message-Id: <1026432936.1151.53.camel@dragonfly.localdomain> Mime-Version: 1.0 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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: > Does anyone know what triggers ocaml to crash on an "out-of-memory" > error? I'm currently using ocaml on cygwin, and I find that my program > often crashes after the memory size reaches about ~200 megs. This > happened on a machine with a gig of ram and that didn't have all that > much else running. > > Another thing I've noticed is that ocaml doesn't seem to collect memory > at the times I expect it to. In particular, after clearing all > references to the big memory structures and running Gc.full_major and > Gc.collect (in that order), the memory size (as measured by the Windows > task manager) doesn't immediately go down. It's possible that I've > neglected to clear my memory references, but I don't think that's it. > > Another odd and regrettable thing I've noticed about ocaml-on-cygwin is > that when it crashes with a stack error, on cygwin it does so > silently--no error message at all. Anyone know if this is something > that can be worked around? > > Thanks in advance, > y > > -- > |--------/ 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 -- |--------/ 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