English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
debugging memory leaks
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-12 (05:56)
From: Chris Waterson <waterson@m...>
Subject: debugging memory leaks
I have a fairly substantial OCaml application that leaks memory.   
What tools or techniques do people use to track down memory leaks?   
Minimally, is there a way to enumerate the live objects in the heap?

I've tried "valgrind" on a natively-compiled executable, but all the  
"real" allocations are hidden in the Caml heap, so it's not very useful.

Any recommendations would be warmly welcomed.  Thanks in advance...