Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a good free tool for investigating unintentional object retention in Java?

Tags:

java

eclipse

My multithreaded Java program crashes because it runs out of heap space and I don't think it should. Assuming the culprit is unintentional object retention, what's a good free tool to investigate what objects are being unintentionally retained?

My IDE is Eclipse.

like image 575
Steve Emmerson Avatar asked May 15 '10 14:05

Steve Emmerson


1 Answers

Here's a list of open source tools you can look at: http://java-source.net/open-source/profilers . Of course, JMap and JConsole are also possible solutions.

like image 176
Todd R Avatar answered Nov 15 '22 18:11

Todd R