caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] Determining memory usage?
Date: Wed, 16 Feb 2005 16:06:47 +0100	[thread overview]
Message-ID: <26aa3ccf1c21e78b671e2a0b8eb35aed@inria.fr> (raw)
In-Reply-To: <20050214180338.74a169db.ocaml-erikd@mega-nerd.com>

On Feb 14, 2005, at 08:03, Erik de Castro Lopo wrote:

> For the archive, I now have:
>
>    let x = Gc.stat () in
>    printf "Memory used : %d kb\n\n" (x.heap_words / (1024 / 
> (Sys.word_size / 8))) ;;

I think you'll want to use top_heap_words instead of heap_words.

-- Damien


  reply	other threads:[~2005-02-16 15:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-13  2:29 Erik de Castro Lopo
2005-02-13  8:31 ` [Caml-list] " Remi Vanicat
2005-02-14  1:46   ` Erik de Castro Lopo
2005-02-14  2:05     ` William Lovas
2005-02-14  7:03       ` Erik de Castro Lopo
2005-02-16 15:06         ` Damien Doligez [this message]
2005-02-14  2:09     ` William D.Neumann
2005-02-14  2:20     ` Jon Harrop

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=26aa3ccf1c21e78b671e2a0b8eb35aed@inria.fr \
    --to=damien.doligez@inria.fr \
    --cc=caml-list@yquem.inria.fr \
    /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).