caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Tiphaine Turpin <Tiphaine.Turpin@irisa.fr>
To: Sylvain Le Gall <sylvain@le-gall.net>, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Re: Mastering the garbage collector
Date: Thu, 25 Jun 2009 17:37:06 +0200	[thread overview]
Message-ID: <4A4399A2.2090301@irisa.fr> (raw)
In-Reply-To: <slrnh4751o.s34.sylvain@gallu.homelinux.org>

Sylvain Le Gall a écrit :
> You need to do a "Gc.compact" to size down. A full_major will collect but I
> am not sure it will free allocated page.
>   
But if it is just a matter of compaction, then

(Gc.stat ()).Gc.live_words

should give me a correct (small) result, no ?

Tiphaine


  reply	other threads:[~2009-06-25 15:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25 14:57 Tiphaine Turpin
2009-06-25 15:14 ` Sylvain Le Gall
2009-06-25 15:37   ` Tiphaine Turpin [this message]
2009-06-25 18:12     ` [Caml-list] " Christophe Raffalli
2009-06-26  7:28       ` Tiphaine Turpin
2009-06-27  7:51         ` Christophe Raffalli
2009-06-25 15:53 ` [Caml-list] " Julien Signoles

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=4A4399A2.2090301@irisa.fr \
    --to=tiphaine.turpin@irisa.fr \
    --cc=caml-list@yquem.inria.fr \
    --cc=sylvain@le-gall.net \
    /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;
as well as URLs for NNTP newsgroup(s).