Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Damien Doligez <Damien.Doligez@inria.fr>
To: caml-list@inria.fr, nr@eecs.harvard.edu
Subject: Re:  ratio of heap size to live data in Caml GC?
Date: Sun, 8 Oct 2000 15:40:14 +0200 (MET DST)	[thread overview]
Message-ID: <200010081340.PAA0000023490@beaune.inria.fr> (raw)

>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



             reply	other threads:[~2000-10-08 21:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-08 13:40 Damien Doligez [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-10-03 21:50 Norman Ramsey
2000-10-04 10:14 ` David Mentré
2000-10-05 18:58   ` Chris Quinn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200010081340.PAA0000023490@beaune.inria.fr \
    --to=damien.doligez@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=nr@eecs.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox