[MLton-user] Profiling the live heap?

Christof Leng cleng at dvs.tu-darmstadt.de
Wed May 4 01:18:15 PDT 2011


Hello,

I'm implementing a network simulator in SML with MLton. It seems that I
have a memory leak in long running simulations. Although this adds up to
GBs over time, only a very small fraction of all allocated memory does
not cleaned up by GC correctly (presumably due to some bug in my
application). Therefore "-profile alloc" didn't do the trick for me. Is
there a way to identify only the allocations that are still in the live
heap?

Thanks
Christof



More information about the MLton-user mailing list