0

I have a number of WAR files that I manage for QA , I tend to use the JBoss command line utility to manage to deploy these applications on JBoss 7

After I undeploy a war file, and try to deploy it again, I often get permgen exception, which sometimes get resolved by waiting few minutes and attempt to deploy the application again.

the other option is to restart the server and deploy the applications.

My question would be is there is a way to clear unused memory in jboss 7, so I can avoid restarting the application server?

Deano
  • 11,582
  • 18
  • 69
  • 119
  • possible duplicate : http://stackoverflow.com/questions/88235/dealing-with-java-lang-outofmemoryerror-permgen-space-error – omu_negru Jun 17 '14 at 13:59

1 Answers1

1

PermGen as the name suggest is Permanent Memory, which cannot be utilized (until Java8 which use Metaspace). Most common behavior is restarting application server (Jboss), or use 3rd party software to manage deployment e.g. JRebel.

References

http://java.dzone.com/articles/java-8-permgen-metaspace

Mateusz Odelga
  • 354
  • 2
  • 7