Eclipse plugins for profiling memory

The Eclipse Memory Analyzer (https://eclipse.org/mat/) can be used to analyze heap dumps created by VisualVM. It provides additional features such as auto memory leak detection. Furthermore, by using it as an Eclipse plugin, you can quickly jump to the source code from the heap dump reports. You can use this tool either as a standalone application or as an Eclipse plugin. We will see how to use it as an Eclipse plugin in this section.

To install the Memory Analyzer plugin and analyze the memory dump, perform the following steps:

  1. Open Eclipse Marketplace (select the Help | Eclipse Marketplace menu). Search for Memory Analyzer and install the plugin:
Figure 11.11: Searching for the Memory Analyzer plugin ...

Get Java EE 8 Development with Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.