Skip to Main Content

Java Development Tools

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!

JDeveloper's Memory Profiler

samsamJun 9 2008 — edited Jun 11 2008
Hi,

I am trying to understand how memory profiler of Jdeveloper works because I want to do memory profiling for my application. I read below document but there is very little said about Diff Alloc and Diff Sz and I still don't quite get it. I understand that Diff Alloc shows the difference in number of allocated objects of specific type between current snapshot and the previous one. Say diff Alloc between snapshopt 5 and snapshot 4 is 42 for example. Should I start getting suspicious about possibility of memory leak or not yet ? and how about if diff Alloc of the same object type between snapshot 6 and 5 became 0 ? Should I change my mind now and assume there is no memory leak ?

And how about Diff Sz, what does that mean?

I really need to earn better understanding of these 2 Diffs to be able to spot any memory leaks that my application may have because I have the feeling my application experiences memory leaks. I can see memory usage of my server going up and rarely goes down and at some point I am hitting and out of memory exception.

The below link is the only one I found that talks about memory profiling in Jdeveloper. If anyone knows of any other more descriptive document or link, please let me know.

Your help is greatly appreciated.

http://www.oracle.com/technology/pub/articles/masterj2ee/files/j2ee11.pdf

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 9 2008
Added on Jun 9 2008
2 comments
1,335 views