Version française
Home     About     Download     Resources     Contact us    
Browse thread
cywgin stack overflow
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Igor Peshansky <pechtcha@c...>
Subject: Re: [Caml-list] cywgin stack overflow
On Thu, 14 Jun 2007, skaller wrote:

> On Thu, 2007-06-14 at 00:00 +1000, skaller wrote:
> > On Wed, 2007-06-13 at 09:44 -0400, Igor Peshansky wrote:
> []
> > > Do try to increase the available memory -- the amount Cygwin
> > > allocates by default is rather small (256M, I believe).  Another
> > > possibility is to run the compilation under strace to see why it
> > > exits.
> >
> > Yes, I can try that .. a bit messy (dual booting, I lose all
> > the email with nice info like this when running Cygwin).
>
> OK, the full story is:
>
> ocamlopt.opt: fails without message
> ocamlopt: fails with Stack overflow message
> ocamlc: compiles the file to *.cmo (correctly, I assume)
>
> this is with Cygwin set to 1024M memory using regtool.
> I didn't try ocamlc.opt.

Ouch.  Is there a place I can find information on how stacks are
implemented in Ocaml without having to wade through source?
Particularly, I imagine the options to increase stack size of the
executable compiled with ocamlopt would not be the same as for gcc...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin