From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id CB9E6BBCA for ; Sat, 10 May 2008 09:52:43 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuECADzxJEjRVcipc2dsb2JhbACSCQEMAwQECQ8FkxKFSw X-IronPort-AV: E=Sophos;i="4.27,464,1204498800"; d="scan'208";a="26022897" Received: from wf-out-1314.google.com ([209.85.200.169]) by mail4-smtp-sop.national.inria.fr with ESMTP; 10 May 2008 09:52:42 +0200 Received: by wf-out-1314.google.com with SMTP id 28so1984573wfa.15 for ; Sat, 10 May 2008 00:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Ne7/bNtYQBMBaX1d2zrtfw9Jzi132Vwzrapo0KNgbiw=; b=YmHT7DezNaHtnFrd1qIgf0lXBik/fMVKAwAS+x60uvSd7gZicRq3uhLVL54+D7i+co4ZxY7APkzw1UAwHyLVg1AEGRxLZmoo0l5QXN585BRmNNZdtRpuKDJjqhIe2J4b+BRJXIBAd/GGhY9KsLK8Mm0o3By/1fqPfD0FoY2L1Bo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kLySCl8GhVHBNwR/iMI3HqoBA8SDKDRpFKb9m6cEneYkzPcsCyWGRoVa4jBQYseqexEkJTM3SRBO8TqhcMqnA3nQ48OpH152pjGaAJLmtaCvHWiAJboO6wKnozbyEz/E3rypVsoN7/IL11mQk13Mc6GOs0Wz3cGnkF2BuxgTh1M= Received: by 10.142.231.7 with SMTP id d7mr2329736wfh.130.1210405961184; Sat, 10 May 2008 00:52:41 -0700 (PDT) Received: by 10.142.140.16 with HTTP; Sat, 10 May 2008 00:52:41 -0700 (PDT) Message-ID: Date: Sat, 10 May 2008 09:52:41 +0200 From: "Ionut Georgescu" To: "Richard Jones" Subject: Re: [Caml-list] OCaml 3.10.2 on Tru64 Cc: caml-list@yquem.inria.fr In-Reply-To: <20080509075602.GB25640@annexia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080509075602.GB25640@annexia.org> X-Spam: no; 0.00; ocaml:01 cvs:01 computed:01 computed:01 ocamlrun:01 ocamlc:01 -nostdlib:01 otherlibs:01 dynlink:01 camlp:01 camlp:01 stdlib:01 cmo:01 0200,:01 ocaml:01 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 $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 $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 $ 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."