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.1 required=5.0 tests=AWL 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 EDCB2BBCA for ; Wed, 7 May 2008 21:24:09 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlEDAEeeIUjAXQIniGdsb2JhbACDHY5lAQEBDyCVEoY9 X-IronPort-AV: E=Sophos;i="4.27,450,1204498800"; d="scan'208";a="25941795" Received: from concorde.inria.fr ([192.93.2.39]) by mail4-smtp-sop.national.inria.fr with ESMTP; 07 May 2008 21:24:09 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m47JO9cw002049 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 7 May 2008 21:24:09 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlIGAOueIUjRVciqdWdsb2JhbACDHY5lAQwDBAQJD5UKhj0 X-IronPort-AV: E=Sophos;i="4.27,450,1204498800"; d="scan'208";a="10492672" Received: from wf-out-1314.google.com ([209.85.200.170]) by mail2-smtp-roc.national.inria.fr with ESMTP; 07 May 2008 21:24:08 +0200 Received: by wf-out-1314.google.com with SMTP id 25so473582wfa.0 for ; Wed, 07 May 2008 12:24:07 -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=8qrhJnlMvN2sIYLrfeqFSkrCxmekJpRCgz++5v+2e4A=; b=J6tphGoEo8KyIzPAFZ8mREc2hnrPgMFbOv8kkDJDZ20/gwZjVeZuQ9ITXDR1qnQFoERuV1cgBuLe8WKIQrRWuqdhb5BINm7TMEnVVJ18n6/ekGdjfdyr8jI0aINdkHyF9VCg+Clw7tgmLvDymNH8ttIjlk1uziyYtBwubazuo7A= 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=x92xsIm+LhnuVzdMdhWN8pCODC1mvzyaoQ7qIJtMhtadTnaYkZ6hKBm40Go3SqbQn9sB8mU58qASnJpe3M3hp1yT4B61bl6LrhPwxPdJxXWUoTlo/booCQOsyywWxbXTT0TFBY5hNe8Sqdc04aEQwib1k6ywFlDiYhifLZEcrF0= Received: by 10.143.28.8 with SMTP id f8mr1007778wfj.316.1210188247210; Wed, 07 May 2008 12:24:07 -0700 (PDT) Received: by 10.143.17.15 with HTTP; Wed, 7 May 2008 12:24:07 -0700 (PDT) Message-ID: Date: Wed, 7 May 2008 15:24:07 -0400 From: "Markus Mottl" To: "Richard Jones" Subject: Re: [Caml-list] ocamlc.opt tries to allocate 34 GB of RAM ... and fails Cc: caml-list@inria.fr In-Reply-To: <20080507184957.GA25416@annexia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080507170149.GA21077@annexia.org> <04bfd9a7e0fb697f30fc7376d28b8fa5@localhost> <20080507183424.GA24624@annexia.org> <20080507184957.GA25416@annexia.org> X-Miltered: at concorde with ID 482201D9.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; markus:01 mottl:01 markus:01 mottl:01 ocamlc:01 ocamlc:01 ocaml:01 wrote:01 caml-list:01 overly:02 seems:03 reproduce:03 opt:04 opt:04 problem:05 On Wed, May 7, 2008 at 2:49 PM, Richard Jones wrote: > OK, but is there any case where ocamlc.opt should try to allocate > 34 _gigabytes_ (in the 2nd [length] param of mmap(2)). Hm, this seems overly excessive. I haven't been able to reproduce the problem on our Fedora 5 boxes (32 and 64bit) using any (including older) OCaml-compiler. Regards, Markus -- Markus Mottl http://www.ocaml.info markus.mottl@gmail.com