问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/1371683/how-to-handle-permgen-space-exception-in-tomcat