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

Generate Insert Sql from Select Statement

SELECT 'INSERT INTO ReferenceTable (ID, Name) VALUES (' +        CAST(ID AS NVARCHAR) + ', ''' + Name + ''...