简体   繁体   English

解决使用Maven在IntelliJ中进行构建时的PermGen错误吗?

[英]Solve PermGen errors when building in IntelliJ with Maven?

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? 如果在使用Maven在IntelliJ中构建项目时从应用服务器获取PermGen OutOfMemoryError,是否应该增加Maven使用的堆? I use Win7, 8GB RAM and I get PermGen from the appserver when I rebuild the project with maven. 我使用Win7、8GB RAM,并在使用maven重建项目时从应用程序服务器获取PermGen。

在此处输入图片说明

add vm opt to mvn -XX:MaxPermSize=128M 将vm opt添加到mvn -XX:MaxPermSize=128M

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM