在使用Maven构建IntelliJ时解决PermGen错误? [英] Solve PermGen errors when building in IntelliJ with Maven?

查看:126
本文介绍了在使用Maven构建IntelliJ时解决PermGen错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在使用Maven在IntelliJ中构建我的项目时从应用程序服务器获取PermGen OutOfMemoryError,那是Maven使用的堆,我应该增加吗?我使用Win7,8GB RAM和我从appserver当我重建项目与maven的时候获得PermGen。

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.

推荐答案

添加vm opt至mvn -XX:MaxPermSize = 128M

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

这篇关于在使用Maven构建IntelliJ时解决PermGen错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆