From: "Ionut Georgescu" <ionutg@gmail.com>
To: "Richard Jones" <rich@annexia.org>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] OCaml 3.10.2 on Tru64
Date: Sat, 10 May 2008 09:52:41 +0200 [thread overview]
Message-ID: <a7df36910805100052v5e7c0a4clefc0d6de7b4909f@mail.gmail.com> (raw)
In-Reply-To: <20080509075602.GB25640@annexia.org>
Hi Richard,
thank you for your answer. Both 3.10.2 and 3.11 CVS fail with the same
"out of memory" message.
Here is the output with OCAMLRUNPARAM=0x1ff
$<Growing heap to 125984k bytes
>allocated_words = 9625
extra_heap_resources = 0u
amount of work to do = 2014u
ordered work = 0 words
computed work = 64968 words
Sweeping 64968 words
$<>allocated_words = 13339
extra_heap_resources = 0u
amount of work to do = 2791u
ordered work = 0 words
computed work = 90038 words
Sweeping 90038 words
$<>allocated_words = 2222
extra_heap_resources = 0u
amount of work to do = 465u
ordered work = 0 words
computed work = 14998 words
Sweeping 14998 words
$<>allocated_words = 8686
extra_heap_resources = 0u
amount of work to do = 1817u
ordered work = 0 words
computed work = 58630 words
Sweeping 58630 words
$<>allocated_words = 10449
extra_heap_resources = 0u
amount of work to do = 2186u
ordered work = 0 words
computed work = 70530 words
Sweeping 70530 words
$<>allocated_words = 12740
extra_heap_resources = 0u
amount of work to do = 2666u
ordered work = 0 words
computed work = 85994 words
Sweeping 85994 words
$<>allocated_words = 13376
extra_heap_resources = 0u
amount of work to do = 2799u
ordered work = 0 words
computed work = 90288 words
Sweeping 90288 words
$<>allocated_words = 5036
extra_heap_resources = 0u
amount of work to do = 1053u
ordered work = 0 words
computed work = 33992 words
Sweeping 33992 words
$<>allocated_words = 5147
extra_heap_resources = 0u
amount of work to do = 1077u
ordered work = 0 words
computed work = 34742 words
Sweeping 34742 words
$<>allocated_words = 9831
extra_heap_resources = 0u
amount of work to do = 2057u
ordered work = 0 words
computed work = 66358 words
Sweeping 66358 words
$<>allocated_words = 3261
extra_heap_resources = 0u
amount of work to do = 682u
ordered work = 0 words
computed work = 22010 words
Sweeping 22010 words
$<>allocated_words = 2443
extra_heap_resources = 0u
amount of work to do = 511u
ordered work = 0 words
computed work = 16490 words
Sweeping 16490 words
$<>allocated_words = 13010
extra_heap_resources = 0u
amount of work to do = 2722u
ordered work = 0 words
computed work = 87816 words
Sweeping 87816 words
$<>allocated_words = 11768
extra_heap_resources = 0u
amount of work to do = 2462u
ordered work = 0 words
computed work = 79434 words
Sweeping 79434 words
$<>allocated_words = 8531
extra_heap_resources = 0u
amount of work to do = 1785u
ordered work = 0 words
computed work = 57584 words
Sweeping 57584 words
$<>allocated_words = 2833
extra_heap_resources = 0u
amount of work to do = 592u
ordered work = 0 words
computed work = 19122 words
Sweeping 19122 words
$<Growing heap to 126976k bytes
>allocated_words = 13001
extra_heap_resources = 0u
amount of work to do = 2699u
ordered work = 0 words
computed work = 87756 words
Sweeping 87756 words
$<>allocated_words = 16419
extra_heap_resources = 0u
amount of work to do = 3409u
ordered work = 0 words
computed work = 110828 words
Sweeping 110828 words
$<>allocated_words = 14198
extra_heap_resources = 0u
amount of work to do = 2948u
ordered work = 0 words
computed work = 95836 words
Sweeping 95836 words
$<>allocated_words = 10308
extra_heap_resources = 0u
amount of work to do = 2140u
ordered work = 0 words
computed work = 69578 words
Sweeping 69578 words
$<>allocated_words = 13136
extra_heap_resources = 0u
amount of work to do = 2727u
ordered work = 0 words
computed work = 88668 words
Sweeping 88668 words
$<>allocated_words = 13968
extra_heap_resources = 0u
amount of work to do = 2900u
ordered work = 0 words
computed work = 94284 words
Sweeping 94284 words
$<>allocated_words = 7508
extra_heap_resources = 0u
amount of work to do = 1559u
ordered work = 0 words
computed work = 50678 words
Sweeping 50678 words
$<>allocated_words = 3072
extra_heap_resources = 0u
amount of work to do = 637u
ordered work = 0 words
computed work = 20736 words
Sweeping 20736 words
$<>allocated_words = 10758
extra_heap_resources = 0u
amount of work to do = 2233u
ordered work = 0 words
computed work = 72616 words
Sweeping 72616 words
$<>allocated_words = 4983
extra_heap_resources = 0u
amount of work to do = 1034u
ordered work = 0 words
computed work = 33634 words
Sweeping 33634 words
$<>allocated_words = 3801
extra_heap_resources = 0u
amount of work to do = 789u
ordered work = 0 words
computed work = 25656 words
Sweeping 25656 words
$<>allocated_words = 9106
extra_heap_resources = 0u
amount of work to do = 1890u
ordered work = 0 words
computed work = 61464 words
Sweeping 61464 words
$<>allocated_words = 7172
extra_heap_resources = 0u
amount of work to do = 1489u
ordered work = 0 words
computed work = 48410 words
Sweeping 48410 words
$<>allocated_words = 4817
extra_heap_resources = 0u
amount of work to do = 1000u
ordered work = 0 words
computed work = 32514 words
Sweeping 32514 words
$<No room for growing heap
Fatal error: out of memory.
Exit code 2 while executing this command:
boot/ocamlrun ./ocamlc -nostdlib -c -g -w a -I ../otherlibs/dynlink
-I camlp4/boot -I camlp4 -I stdlib -o camlp4/boot/Camlp4.cmo
camlp4/boot/Camlp4.ml
Hope this helps,
Ionut
On Fri, May 9, 2008 at 9:56 AM, Richard Jones <rich@annexia.org> wrote:
> On Fri, May 09, 2008 at 09:38:19AM +0200, Ionut Georgescu wrote:
>> I am trying to build OCaml 3.10.2 for Tru64, but it keeps failing with
>> "Out of memory" when compiling camlp4/boot/Camlp4.ml. I have already
>> increased the stacksize
>>
>> ulimit -s 65536
>>
>> Is there anything else I can do?
>
> Do:
>
> export OCAMLRUNPARAM=v=0x1ff
>
> and then see if the bug looks like this:
>
> http://caml.inria.fr/pub/ml-archives/caml-list/2008/05/9c24581520a98afa2e11185845b5458a.en.html
> http://caml.inria.fr/mantis/view.php?id=4448
>
> If it is, then the best I can suggest is to use OCaml 3.11 from CVS.
>
> Rich.
>
> --
> Richard Jones
> Red Hat
>
--
http://www.pks.mpg.de/~george/
"UNIX is basically a simple operating system, but you have to be a
genius to understand the simplicity."
next prev parent reply other threads:[~2008-05-10 7:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-09 7:38 Ionut Georgescu
2008-05-09 7:56 ` [Caml-list] " Richard Jones
2008-05-10 7:52 ` Ionut Georgescu [this message]
2008-05-10 7:56 ` Richard Jones
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=a7df36910805100052v5e7c0a4clefc0d6de7b4909f@mail.gmail.com \
--to=ionutg@gmail.com \
--cc=caml-list@yquem.inria.fr \
--cc=rich@annexia.org \
/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