[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: OutOfMemory Error when redeploying application

PeterJ do-not-reply at jboss.com
Fri Jul 11 12:20:09 EDT 2008


You are correct in being alarmed. Redeployment is always a tricky business - the old classes will be released only if there are no more references to them. So if there are issues with the code, you could each time increase the amount of permgen space used each time you redeploy. (If your do a forum search for permgen out of memory error you will see that a lot of others have run into this.) A profiling tool, or heap analysis tool, might help you determine which classes are still in use and who is using them.

This is one of the reasons why turning off the hot deployer is recommended for production use.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163915#4163915

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163915



More information about the jboss-user mailing list