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: | -- (:) |
| From: | Remi Vanicat <remi.vanicat@g...> |
| Subject: | Re: [Caml-list] Determining memory usage? |
On Sun, 13 Feb 2005 13:29:39 +1100, Erik de Castro Lopo <ocaml-erikd@mega-nerd.com> wrote: > Hi all, > > I was wondering if there was a way of finding the maximum memory > usage of a program compiled with ocamlopt. Preferably I'd like > to print that memory usage out at the end of a run of my program. > Then you have to look to the Gc module of the stdlib, in particular the Gc.stat function