Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java profiling question

807597May 6 2005 — edited May 9 2005
Hi, I have a question about java profiling an application which potentially has a memory leak.

We have just started using "hprof" ...http://www.javaworld.com/javaworld/jw-12-2001/jw-1207-hprof.html

Does somebody know how to analyze the results of the hprof O/P?

we use hprof every time when we do a kill -3 <pid>. In addition to getting a thread dump, a the heap is written into java.hprof.txt.

But the file is huge and complex, does anybody has any idea or an example how to read and understand this O/P ?

-sangita
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 6 2005
Added on May 6 2005
3 comments
173 views