Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
how to "disable" GC?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-03-14 (15:16)
From: Ken Rose <kenrose@t...>
Subject: Re: [Caml-list] how to "disable" GC?
Damien Doligez wrote:

> So if you allocate some things that go directly into the major heap
> (for example reasonably large arrays or strings) you need a big major
> heap as well as a big minor heap:
>   setenv OCAMLRUNPARAM 's=500M,h=500M,v=0x1ff'

Is there some way to do this from inside the OCaml program?  I don't see 
anything in a quick look at the documents for GC.


  - ken