Browse thread
Determining memory usage?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-02-16 (15:06) |
From: | Damien Doligez <damien.doligez@i...> |
Subject: | Re: [Caml-list] Determining memory usage? |
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