Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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...