{{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 Sequenced Collection Java Sequenced Collection The Sequenced Collection feature was introduced in Jav...