Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Brian Hurt <bhurt@janestcapital.com>
To: Markus Mottl <markus.mottl@gmail.com>
Cc: Richard Jones <rich@annexia.org>, caml-list@inria.fr
Subject: Re: [Caml-list] ocamlc.opt tries to allocate 34 GB of RAM ... and fails
Date: Wed, 07 May 2008 15:29:26 -0400	[thread overview]
Message-ID: <48220316.7070000@janestcapital.com> (raw)
In-Reply-To: <f8560b80805071224v84b3a46ka9fa42071f0d9dd0@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 615 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 1145 bytes --]

  reply	other threads:[~2008-05-07 19:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 17:01 Richard Jones
2008-05-07 17:35 ` [Caml-list] " Romain Beauxis
2008-05-07 18:34   ` Richard Jones
2008-05-07 18:46     ` Markus Mottl
2008-05-07 18:49       ` Richard Jones
2008-05-07 19:24         ` Markus Mottl
2008-05-07 19:29           ` Brian Hurt [this message]
2008-05-08  9:14           ` Richard Jones
2008-05-08 10:14             ` Richard Jones
2008-05-08 13:40               ` Markus Mottl
2008-05-08 13:55                 ` Richard Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48220316.7070000@janestcapital.com \
    --to=bhurt@janestcapital.com \
    --cc=caml-list@inria.fr \
    --cc=markus.mottl@gmail.com \
    --cc=rich@annexia.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox