caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Limiting Memory Usage
Date: Mon, 17 Jul 2006 10:15:14 +0200	[thread overview]
Message-ID: <ED6F5862-AA26-4B15-BBF6-443EF8842598@inria.fr> (raw)
In-Reply-To: <44B711FC.7000001@uni-koblenz.de>


On 2006-07-14, at 05:39, Alexander Fuchs wrote:

> Still, when the memory limit is reached the program just terminates  
> with
> "Fatal error: out of memory." resp "Out of memory". I couldn't figure
> out if it is possible to catch any of those errors/exceptions, and do
> some cleanup before terminating the program.

There is currently no way to catch these errors, because the heap
is in an inconsistent state when they are triggered.  This might
change at some point in the future, but don't hold your breath.

-- Damien


      parent reply	other threads:[~2006-07-17  8:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14  3:39 Alexander Fuchs
2006-07-14 12:52 ` [Caml-list] " Chris King
2006-07-15 17:04   ` Alexander Fuchs
2006-07-17  8:15 ` Damien Doligez [this message]

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=ED6F5862-AA26-4B15-BBF6-443EF8842598@inria.fr \
    --to=damien.doligez@inria.fr \
    --cc=caml-list@yquem.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).