How to handle PermGen space exception in Tomcat?

不打扰是莪最后的温柔 提交于 2019-12-06 15:12:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!