{{theTime}}

Search This Blog

Total Pageviews

How to use Eclipse Memory Analyzer to find Java Memory Leaks

Eclipse Memory Analyzer can be used to find the memory leaks.

-          Install Eclipse Memory Analyzer http://www.eclipse.org/mat/downloads.php

-          Click Open Heap Dump File, select the .hprof file

-          Go to Overview and check Biggest Objects by Retained Size

-      Click "Leak Suspects" and verify the high "Retained Heap" classes

-           Click "Dominator Tree view" to look individual objects and retained heap.

Biggest Objects by Retained Size:


Leak Suspects:

No comments:

java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport

SpringBoot Error: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.j...