caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Igor Peshansky <pechtcha@cs.nyu.edu>
To: skaller <skaller@users.sourceforge.net>
Cc: caml-list@yquem.inria.fr,
	felix-impl <felix-impl@lists.sourceforge.net>,
	Rhythmic Fistman <rfistman@gmail.com>,
	Emmanuel Onzon <emmanuel.onzon@ens-lyon.fr>
Subject: Re: [Caml-list] cywgin stack overflow
Date: Wed, 13 Jun 2007 10:45:33 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.4.63.0706131032290.23164@access1.cims.nyu.edu> (raw)
In-Reply-To: <1181744198.6141.3.camel@rosella.wigram>

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


  reply	other threads:[~2007-06-13 14:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-13  7:34 skaller
2007-06-13 11:29 ` [Caml-list] " Igor Peshansky
2007-06-13 12:05   ` skaller
2007-06-13 12:39 ` skaller
2007-06-13 13:44   ` Igor Peshansky
2007-06-13 14:00     ` skaller
2007-06-13 14:16       ` skaller
2007-06-13 14:45         ` Igor Peshansky [this message]
2007-06-13 16:20           ` Xavier Leroy
2007-06-13 16:27         ` Alain Frisch
2007-06-13 17:08           ` Igor Peshansky
2007-06-13 17:12             ` Alain Frisch
2007-06-14  7:03               ` Olivier Andrieu

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=Pine.GSO.4.63.0706131032290.23164@access1.cims.nyu.edu \
    --to=pechtcha@cs.nyu.edu \
    --cc=caml-list@yquem.inria.fr \
    --cc=emmanuel.onzon@ens-lyon.fr \
    --cc=felix-impl@lists.sourceforge.net \
    --cc=rfistman@gmail.com \
    --cc=skaller@users.sourceforge.net \
    /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).