[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Ionut Georgescu <ionutg@g...> |
| Subject: | Re: [Caml-list] OCaml 3.10.2 on Tru64 |
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."