From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA10374 for caml-red; Sun, 8 Oct 2000 23:08:54 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA00250 for ; Sun, 8 Oct 2000 15:40:15 +0200 (MET DST) Received: from beaune.inria.fr (beaune.inria.fr [128.93.8.3]) by nez-perce.inria.fr (8.10.0/8.10.0) with ESMTP id e98DeE122627 for ; Sun, 8 Oct 2000 15:40:14 +0200 (MET DST) Received: by beaune.inria.fr (8.8.8/1.1.22.3/14Sep99-0328PM) id PAA0000023490; Sun, 8 Oct 2000 15:40:14 +0200 (MET DST) Date: Sun, 8 Oct 2000 15:40:14 +0200 (MET DST) From: Damien Doligez Message-Id: <200010081340.PAA0000023490@beaune.inria.fr> To: caml-list@inria.fr, nr@eecs.harvard.edu Subject: Re: ratio of heap size to live data in Caml GC? Sender: weis@pauillac.inria.fr >From: Norman Ramsey >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