From: Fabrice Le Fessant <lefessan@lix.polytechnique.fr>
To: caml-list@inria.fr
Subject: [Caml-list] Ocaml 3.07 memory profiling
Date: Sat, 24 Apr 2004 13:58:36 +0200 [thread overview]
Message-ID: <200404241158.i3OBwalf006172@lix.polytechnique.fr> (raw)
Hello,
I've written a small patch to Ocaml-3.07 to do some memory profiling
on running programs. The patch requires to recompile and install
Ocaml, and to recompile your program with it. It doesn't cost anything
during the execution of the program, it just requires a call to
"Gc.dump_heap" at some point to dump an image of the memory on disk
that will be used by the analyser, that will display the memory
retained (per root) and used (per type of data), at least when it can
identify them. It's just a 3-days work, thus it needs still to be
improved a lot, but I could find the bug I was looking for thanks to
it, so I think it is worth a first beta release...
http://pauillac.inria.fr/~lefessan/src/memprof-ocaml-3.07.tar.gz
Best regards,
- Fabrice Le Fessant
Comete, INRIA-Futurs and Ecole Polytechnique
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next reply other threads:[~2004-04-24 11:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-24 11:58 Fabrice Le Fessant [this message]
2004-06-02 18:07 ` [Caml-list] " Bernd Kuhls
[not found] ` <FF087352-B529-11D8-BA22-000A95DDB608@cs.uni-sb.de>
2004-06-03 7:25 ` [Caml-list] " spiralvoice
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=200404241158.i3OBwalf006172@lix.polytechnique.fr \
--to=lefessan@lix.polytechnique.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