[
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: | Damien Doligez <damien.doligez@i...> |
| Subject: | Re: [Caml-list] Segfault with humongous heap size |
On 2010-09-02, at 13:23, Paul Steckler wrote: > If I enter this in my shell: > > declare -x OCAMLRUNPARAM="h=3200000000" > > every OCaml program I run yields a segfault. I have OCaml 3.11.1+rc1 installed > on Fedora 12 x64. > > Of course, that heap size, 3.2G words, is larger than the memory I > have installed, but > still, I shouldn't get a segfault. That's due to a stupid bug in parsing OCAMLRUNPARAM, compounded by a missing check for the error code returned. It will be fixed in 3.12.1. In the meantime, just use multipliers: declare -x OCAMLRUNPARAM=h=3200M -- Damien