Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] OCaml+spacetime crashes during camlp5 compilation
Date: Sat, 18 Feb 2017 11:31:54 +0100	[thread overview]
Message-ID: <20170218103154.GA5070@yquem.inria.fr> (raw)
In-Reply-To: <86d1efopdj.fsf@lpw25.net>

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/

  reply	other threads:[~2017-02-18 10:31 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 [this message]
2017-02-18 11:17           ` Kakadu
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=20170218103154.GA5070@yquem.inria.fr \
    --to=daniel.de_rauglaudre@inria.fr \
    --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