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:

Kafka Consumer Parallelism

Kafka Parallel Consumer Options: Key-level parallelism:  Multiple threads process the messages from a single partition in parallel while ma...