caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christophe Raffalli <christophe.raffalli@univ-savoie.fr>
To: caml-list@inria.fr
Subject: Stack size on OS X
Date: Mon, 30 Nov 2009 09:05:44 +0100	[thread overview]
Message-ID: <4B137CD8.3070001@univ-savoie.fr> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1098 bytes --]


Hello,

It seems that the problem of stack size is still not solved in OS X (limited to 8Mo by default and
hard limit in the kernel to 64Mo with ulimit -s 64000). My unison is still crashing on
very big changes ...

However, I stumbled on this pdf (attached) which explain how to use
-stack-addr and -stack-size in the gnu linker to change the stack address and size.

Did anyone try this on OS X for OCaml program ?

I think stack limitation, for a functional program is not good and it is even worse when the limit
depends upon the platform.

Cheers,
Christophe

-- 
Christophe Raffalli
Universite de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex

tel: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli@univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
---------------------------------------------
IMPORTANT: this mail is signed using PGP/MIME
At least Enigmail/Mozilla, mutt or evolution
can check this signature. The public key is
stored on www.keyserver.net
---------------------------------------------

[-- Attachment #1.2: How to increase the stack size on Mac OS X.pdf --]
[-- Type: application/pdf, Size: 109566 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

             reply	other threads:[~2009-11-30  8:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30  8:05 Christophe Raffalli [this message]
2009-11-30 15:26 Christophe Raffalli

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=4B137CD8.3070001@univ-savoie.fr \
    --to=christophe.raffalli@univ-savoie.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;
as well as URLs for NNTP newsgroup(s).