From: Berke Durak <durak@liafa.jussieu.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Native code and stack limit
Date: Tue, 10 Sep 2002 16:34:18 +0200 [thread overview]
Message-ID: <20020910143418.GA23320@liafa.jussieu.fr> (raw)
In-Reply-To: <20020910124322.GB12019@liafa.jussieu.fr>
On Tue, Sep 10, 2002 at 02:43:22PM +0200, Berke Durak wrote:
> I also have no ulimits on my machine.
Sorry I had an 8Mb limit on my stack. I thought "ulimit" would show all
limits. Not. Shame on me.
I have also checked the latest CVS sources ; it seems that there are no
more references to the stack limit in asmrun.
May I suggest fixing the documentation as follows :
In the native-code compilation section, specify which OCAMLRUNPARAM options
are used ; stress that there is no Ocaml-imposed stack limit, that the stack
limit can be checked (at least under Linux) using "ulimit -a" and be set using
"ulimit -s", and that a stack overflow throws a Stack_overflow exception.
Would it be a luxury if the native startup code complained if the
OCAMLRUNPARAM-specified stack limit exceeds the system stack limit ?
--
Berke Durak
-------------------
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
next prev parent reply other threads:[~2002-09-10 14:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-10 12:43 Berke Durak
2002-09-10 14:34 ` Berke Durak [this message]
2002-09-10 16:11 ` M E Leypold @ labnet
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=20020910143418.GA23320@liafa.jussieu.fr \
--to=durak@liafa.jussieu.fr \
--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