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

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to