From: Kakadu <kakadu.hafanana@gmail.com>
To: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] OCaml+spacetime crashes during camlp5 compilation
Date: Sat, 18 Feb 2017 14:17:07 +0300 [thread overview]
Message-ID: <CAGmVoG3ChZf0CDcXQw+bM0JxBMG-QaLTgKhi+3FJnqwrgwcSgQ@mail.gmail.com> (raw)
In-Reply-To: <20170218103154.GA5070@yquem.inria.fr>
[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]
I tried to hack stack size with setting OCAMLRUNPARAM (1). 250k was not
enough but compiler worked a little bit longer, imho
happy hacking,
Kakadu
(1) https://caml.inria.fr/pub/docs/manual-ocaml/runtime.html
On Feb 18, 2017 1:32 PM, "Daniel de Rauglaudre" <
daniel.de_rauglaudre@inria.fr> wrote:
On Sat, Feb 18, 2017 at 08:49:12AM +0000, Leo White wrote:
> As Gabriel said, it is probably just camlp5 being expensive to compile
> and spacetime tipping it over the edge. Have you tried increasing the
> stack size limit?
Hmmm... perhaps I could test this bug by decreasing my stack size
limit on my computer?
The example given seems to show a problem with the file
meta/q_MLast.ml which indeed contains a statement EXTEND which
generates a rather long OCaml expression. Strange that this problem
does not occur with ocaml_src/meta/q_MLast.ml which is a pretty
printed version of the same file (for Camlp5 cold stard).
I could try to split this EXTEND into several parts to make OCaml
not having to use so much memory?
BTW, how to show one's stack size limit (Linux) and change it?
--
Daniel de Rauglaudre
http://pauillac.inria.fr/~ddr/
--
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
[-- Attachment #2: Type: text/html, Size: 2520 bytes --]
next prev parent reply other threads:[~2017-02-18 11:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-17 22:00 Kakadu
2017-02-18 1:53 ` Daniel de Rauglaudre
2017-02-18 1:58 ` Gabriel Scherer
2017-02-18 7:39 ` Kakadu
2017-02-18 8:49 ` Leo White
2017-02-18 10:31 ` Daniel de Rauglaudre
2017-02-18 11:17 ` Kakadu [this message]
2017-02-18 20:52 ` Gerd Stolpmann
2017-02-18 21:02 ` Kakadu
2017-02-18 21:14 ` Kakadu
2017-02-19 3:00 ` Daniel de Rauglaudre
2017-02-19 7:34 ` Kakadu
2017-02-19 8:43 ` Daniel de Rauglaudre
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=CAGmVoG3ChZf0CDcXQw+bM0JxBMG-QaLTgKhi+3FJnqwrgwcSgQ@mail.gmail.com \
--to=kakadu.hafanana@gmail.com \
--cc=caml-list@inria.fr \
--cc=daniel.de_rauglaudre@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