In a typical application, the permgen will grow to a certain size and then stay at that
size for the rest of the app run. Some of the reasons that the pergen size will increase
are:
* Deploying a new application
* Redeploying an application
* Accessing new functionality within an application
If you find that you are redeploying applications often, then you will need to
periodically restart the app server.
The JVM will remove unneeded class definitions from the permgen during a garbage
collection, but sometimes classes in an old version of an application still hang around
even after a new version has been deployed, hence the increase in permgen size.
If you are not redeploying applications, then you need to monitor the permgen size (use
JConsole or a similar tool) and when you see a permgen increase you need to figure out
what was going on at that time.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179429#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...