Possible Duplicate:
How to analyze PermGen contents?
I want to know what is occupying the PermGen space - string intern() or classes? Is there any tool which will help with this analysis?
For Memory Analysis
Use jvisualvm.exe
present in bin directory of JDK
Using jvisualvm take the Thread/Heap dump depending on the process id
of the Application
you need to profile.
Memory Analyzer (MAT) an eclipse plugin. where you can import the heap dump from jvisualvm and analyze for possible leaks.