The permanent generation holds class-level data (that is, any fields defined as 
static).  My guess that your classes contain static data, and when you 
redeploy, the redeployed classes are loaded by a new class loader and thus the 
static data from the old classes and the new classes are now taking up room.  
Do this several times and the permanent generation will fill up.  If my guess 
is correct, the solution would be to modify your code to not use static data in 
any of your classes.  Of course you should also check any class libraries on 
which your code depends (jar files you package with your ear) for the same 
thing.  But then I could be wrong.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to