|Re: Perm gem space taken by classloader or class definition [message #498416 is a reply to message #498303]
||Mon, 16 November 2009 20:00
| Andreas Buchen
Registered: July 2009
unfortunately, the HPROF heap dump does not contain size information about the perm space. In that respect, the class loaders and the number of classes give an indication of the pem space used, but no exact numbers.
If you happen to use the SAP JVM (and have the SAP Extension to the MAT installed), you can get a little bit more information. It will print information about the perm size per class. However, this data is also very difficult to interpret.
From my experience, I would look at (a) duplicate classes, (b) class loaders which are kept alive even though they should be removed, (c) check whether you can avoid generating too many classes and (d) do not deploy stuff not needed. Often, however, one needs to increase the perm space...
Powered by FUDForum
. Page generated in 0.05814 seconds