{{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:

Best Client Optimized Programming Language for Mobile Development?

Use Google's Dart language, which is Object-oriented, class-based and garbage-collected language with C-Style.  Dart can compile to eith...