0

I am getting a PermGen Space Exception whenever I deploy my web application. I tried some JVm option in NetBeans but still unable to resolve the issue.

skaffman
  • 398,947
  • 96
  • 818
  • 769
vipin k.
  • 2,633
  • 5
  • 22
  • 27
  • 1
    You should take a look at the questions already asked in this regard. 1) http://stackoverflow.com/questions/88235/how-to-deal-with-java-lang-outofmemoryerror-permgen-space-error 2) http://stackoverflow.com/questions/473011/recurring-permgen-in-tomcat-6 Then it is only a matter of configuring the Tomcat installation in Netbeans. – Vineet Reynolds Sep 03 '09 at 06:29

1 Answers1

3

Add this JVM parameter: -XX:MaxPermSize=128m (or 256m or 512m). Here's a related article as well that lists some other useful JVM options.

bluish
  • 26,356
  • 27
  • 122
  • 180
Taylor Leese
  • 51,004
  • 28
  • 112
  • 141