caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Denis Bueno <dbueno@gmail.com>
To: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlc Stack_overflow
Date: Wed, 09 Aug 2006 09:41:41 -0400	[thread overview]
Message-ID: <44D9E615.4030901@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0608082110280.2677@droopy>

Martin Jambon wrote:
> You are using a huge list, and it is likely that the compiler uses some 
> functions which will use stack space proportionally to the size of your 
> list.
> You can use one of the following options:
> - use ocamlc.opt instead of ocamlc
> - increase the maximum size of the stack:
>     env OCAMLRUNPARAM=l=10M ocamlc -c spit_etest.ml

To anyone who may be interested: both of these methods worked for me.

-Denis


  reply	other threads:[~2006-08-09 13:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-04  1:03 Denis Bueno
2006-08-09  2:00 ` Denis Bueno
2006-08-09  2:54   ` [Caml-list] " Jon Harrop
2006-08-09  4:19   ` Martin Jambon
2006-08-09 13:41     ` Denis Bueno [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-11-24 17:21 [Caml-list] Ocamlc stack overflow Alex Baretta
2003-11-24 17:47 ` Richard Jones
2003-11-25 13:19   ` Alex Baretta
2003-11-25 14:06     ` Richard Jones
2003-11-25 17:50     ` Xavier Leroy
2003-11-24 18:22 ` Damien Doligez

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=44D9E615.4030901@gmail.com \
    --to=dbueno@gmail.com \
    --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).