Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlc.opt tries to allocate 34 GB of RAM ... and fails
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] ocamlc.opt tries to allocate 34 GB of RAM ... and fails
On Wed, May 07, 2008 at 03:24:07PM -0400, Markus Mottl wrote:
> On Wed, May 7, 2008 at 2:49 PM, Richard Jones <rich@annexia.org> 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.

It only seems to happen in Fedora 9, where coincidentally we switched
to using gcc 4.3.  Anyway, I'm still looking at the code ...

Rich.

-- 
Richard Jones
Red Hat