Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* ratio of heap size to live data in Caml GC?
@ 2000-10-03 21:50 Norman Ramsey
  2000-10-04 10:14 ` David Mentré
  0 siblings, 1 reply; 4+ messages in thread
From: Norman Ramsey @ 2000-10-03 21:50 UTC (permalink / raw)
  To: caml-list

Can anybody tell me what ratio of heap size to live data the OCaml collector
needs to perform well?  The default ratio appears to be 2.4.  I assume
this means the collector is a mark-and-sweep collector?


Norman



^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re:  ratio of heap size to live data in Caml GC?
@ 2000-10-08 13:40 Damien Doligez
  0 siblings, 0 replies; 4+ messages in thread
From: Damien Doligez @ 2000-10-08 13:40 UTC (permalink / raw)
  To: caml-list, nr

>From: Norman Ramsey <nr@eecs.harvard.edu>

>Can anybody tell me what ratio of heap size to live data the OCaml collector
>needs to perform well?  The default ratio appears to be 2.4.  I assume
>this means the collector is a mark-and-sweep collector?

The collector is generational, with the young generation managed by a
stop-and-copy collector, and the old generation by a mark-and-sweep.

The default ratio of heap size to live data for the old heap is
supposed to be about 1.42, assuming that your program uses a constant
amount of live data.

-- Damien



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-10-08 21:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-03 21:50 ratio of heap size to live data in Caml GC? Norman Ramsey
2000-10-04 10:14 ` David Mentré
2000-10-05 18:58   ` Chris Quinn
2000-10-08 13:40 Damien Doligez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox