caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Yaron M. Minsky" <yminsky@CS.Cornell.EDU>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Out-of-memory faults and other cygwin issues
Date: 11 Jul 2002 20:15:35 -0400	[thread overview]
Message-ID: <1026432936.1151.53.camel@dragonfly.localdomain> (raw)
In-Reply-To: <1026431547.1216.46.camel@dragonfly.localdomain>

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


  reply	other threads:[~2002-07-12  0:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-11 23:52 Yaron M. Minsky
2002-07-12  0:15 ` Yaron M. Minsky [this message]
2002-07-12  1:18 ` Basile STARYNKEVITCH
2002-07-12  1:22   ` Yaron M. Minsky
2002-07-12 13:58 ` Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1026432936.1151.53.camel@dragonfly.localdomain \
    --to=yminsky@cs.cornell.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).