• Post Reply Bookmark Topic Watch Topic
  • New Topic

Any Tool for OutOfMemoryError ?  RSS feed

 
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Is there Any tool to know why exactly an application throws OutOfMemoryError or specifically which part of code is responsible ?my server uses jdk1.4.1
[ May 21, 2007: Message edited by: raj malhotra ]
 
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It won't do all the work for you, but a memory profiler would be a great help. It can help you to find out instances of what classes take up all the memory, and even what prevents them from being garbage collected.

We are using JProfiler, which works just fine.
 
raj malhotra
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It won't do all the work for you


can you please elaborate this little bit.Thanks
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tool won't tell you which objects actually *should* be gc-able, and which code is responsible for them not being.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!