Solve PermGen errors when building in IntelliJ with Maven?

戏子无情 提交于 2019-12-17 22:22:27

问题


If I get PermGen OutOfMemoryError from the app server when building my project in IntelliJ with Maven, is it the heap that Maven uses that I should increase? I use Win7, 8GB RAM and I get PermGen from the appserver when I rebuild the project with maven.


回答1:


add vm opt to mvn -XX:MaxPermSize=128M



来源:https://stackoverflow.com/questions/19750340/solve-permgen-errors-when-building-in-intellij-with-maven

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