Browse thread
ocamlc.opt tries to allocate 34 GB of RAM ... and fails
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Markus Mottl <markus.mottl@g...> |
| Subject: | Re: [Caml-list] ocamlc.opt tries to allocate 34 GB of RAM ... and fails |
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