During this presentation, I will demonstrate how to generate an automatic custom memory report integrated in a Continuous Integration. It detects memory leaks very early in development process and provides a preliminary report.
The Bonitasoft team implemented such a solution with the Hudson continuous integration server and the Memory Analyzer Tool (MAT) on our Eclipse RCP application. This talk will be an opportunity to share our experience and present the steps to achieved the goal:
Take a Heap Dump programmatically at the end of Test execution
Create a custom MAT report or use the ones provided
Launch MAT reports analysis on the Heap Dump
Integrate reports analysis in the Hudson/Jenkins job