Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Thanks

  - ken