caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Rouaix <Francois.Rouaix@inria.fr>
To: "Berruyer" <berruyer@AVO.fr>
Cc: "caml-list" <caml-list@inria.fr>
Subject: Re: A propos de la fonction stat()
Date: Mon, 18 May 1998 10:51:11 +0200	[thread overview]
Message-ID: <199805180851.KAA17850@madiran.inria.fr> (raw)
In-Reply-To: Your message of "Fri, 15 May 1998 20:23:45 +0200." <01bd802e$af385f00$e97b33c2@berruyer.aurecvideo.fr>


> La documentation indique que  < (minor_words + major_words - 
> promoted_words) * 4 > octets est la quantite de memoire allouee par 
> le programme. 

Il s'agit de la memoire totale allouee, et non de la memoire "actuellement"
allouee. Le GC est passe par la, et a libere puis reutilise une partie de
cette memoire.
Pour avoir une idee de l'utilisation courante de la memoire, il vaut mieux
utiliser
wordsize * st.heap_words   : taille du heap en octets
(float st.live_words) /. (float st.heap_words) : pourcentage de ce qui est
vraiment utilise dans le heap (le reste etant disponible pour allocation).

Damien me corrigera si je dis des betises.

--f




      reply	other threads:[~1998-05-18 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-15 18:23 Berruyer
1998-05-18  8:51 ` Francois Rouaix [this message]

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=199805180851.KAA17850@madiran.inria.fr \
    --to=francois.rouaix@inria.fr \
    --cc=berruyer@AVO.fr \
    --cc=caml-list@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).