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: Brian Hurt <bhurt@j...>
Subject: Re: [Caml-list] ocamlc.opt tries to allocate 34 GB of RAM ... and fails
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.
>
>Regards,
>Markus
>
>  
>
This is possible- if the ocaml heap was spread out over 2^48 bytes, then 
the old implementation would want to allocate 32G or more.  I'd be 
surprised, but this is possible...

Brian