Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Stack size on OS X
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe Raffalli <christophe.raffalli@u...>
Subject: Stack size on OS X


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

(This is the first hit on google with "increasing stack size on OS X")

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.


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
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