3 Replies Latest reply on Jun 24, 2014 9:09 AM by hamlo

    JBoss AS 7.1.3 class unloading memory leak?

    urug

      Hi,

       

      We have a JBoss AS 7.1.3 system with 5 applications (.war modules) deployed. Our application logic requires undeployment of 2 of these when the operating mode changes from active to standby. We accomplish this by removing the <war>.deployed files. This causes unloading of the target modules automatically. When mode switches to active, we remove the <war>.undeployed" files. However, what I have noticed is that the number of classes loaded keeps going up at every subsequent deployment, even though the same modules were previously undeployed. This causes permgen problems. See enclosed jconsole snapshot that has the class loading increase highlighted. How do I force a module's classes to be undeployed when the module is undeployed?

       

      Thanks