From: "Markus Mottl" <markus.mottl@gmail.com>
To: "Richard Jones" <rich@annexia.org>
Cc: "Romain Beauxis" <toots@rastageeks.org>, caml-list@inria.fr
Subject: Re: [Caml-list] ocamlc.opt tries to allocate 34 GB of RAM ... and fails
Date: Wed, 7 May 2008 14:46:49 -0400 [thread overview]
Message-ID: <f8560b80805071146w524c21c3n4a6f3732b2d8fc09@mail.gmail.com> (raw)
In-Reply-To: <20080507183424.GA24624@annexia.org>
On Wed, May 7, 2008 at 2:34 PM, Richard Jones <rich@annexia.org> wrote:
> Also I checked the source to our caml_aligned_mmap function and it is
> essentially the same as Markus Mottl's version in his comment in that
> thread (this has been reported in 3.10.1 & 3.10.2). It even includes
> a reference to that bug, indicating that the version we are using
> includes this patch.
Note that the patch does not guarantee anything. The mmap system call
only considers the passed address as a hint, there is no guarantee
that it will actually use it. This may be highly kernel-dependent.
Note, too, that the upcoming OCaml-release will (probably) feature
improved page table handling using sparse representations, thus
solving this problem generally.
Regards,
Markus
--
Markus Mottl http://www.ocaml.info markus.mottl@gmail.com
next prev parent reply other threads:[~2008-05-07 18:46 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 [this message]
2008-05-07 18:49 ` Richard Jones
2008-05-07 19:24 ` Markus Mottl
2008-05-07 19:29 ` Brian Hurt
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=f8560b80805071146w524c21c3n4a6f3732b2d8fc09@mail.gmail.com \
--to=markus.mottl@gmail.com \
--cc=caml-list@inria.fr \
--cc=rich@annexia.org \
--cc=toots@rastageeks.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