Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to analyze PermGen space? [duplicate]

Tags:

java

jvm

permgen

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?

like image 428
user1325695 Avatar asked May 25 '12 10:05

user1325695


2 Answers

For Memory Analysis

  1. Use jvisualvm.exe present in bin directory of JDK

  2. Using jvisualvm take the Thread/Heap dump depending on the process id of the Application you need to profile.

  3. Memory Analyzer (MAT) an eclipse plugin. where you can import the heap dump from jvisualvm and analyze for possible leaks.

like image 135
Srinivas M.V. Avatar answered Oct 10 '22 02:10

Srinivas M.V.


You can use monitoring tools that are in the bin folder of your jdk, as "jvisualvm" or "jconsole"

like image 30
Xosler Avatar answered Oct 10 '22 03:10

Xosler