I used Eclipse Memory Analyzer (MAT) to find the object holding a reference
to a large temporary chunk of memory. It appears that TmfExperiment is not
AutoClosable as other traces, and calling dispose() method on the
experiment solved the issue. (Whole story:
http://multivax.blogspot.ca/2014/08/pinpoint-memory-usage-of-java-program.html
)

For the debugging, I needed the HeapDump class. However, I could not find
it in other linuxtools plug-ins, and I don't know how to search for that
class in p2 repo, such as Orbit. I think that would be very helpful to have
it in the class path. Here is the slightly modified version I have:

https://github.com/giraldeau/org.eclipse.linuxtools/blob/graph/lttng/org.eclipse.linuxtools.tmf.analysis.graph.core.tests/src/org/eclipse/linuxtools/tmf/analysis/graph/core/tests/staging/HeapDump.java

Cheers,

Francis
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev

Reply via email to