Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I found which class and method has memory leakage?

 
Usera User
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our application has memory leakage, has any tool can help me to find which class and method has memory leakage?

My application run on Tomcat and need to re-start every 1 hour...
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A memory profiler can tell you which objects are staying in memory, and what is referencing them so that they can't be garbage collected. Finding out which ones are wrong and therefore indicate "memory leakage" can only be done by a developer who knows the system.

I had good luck using JProfiler in the past.
 
Paul Clapham
Sheriff
Pie
Posts: 20945
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Usera User", please check your private messages regarding an important administrative matter.

Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic