Maven之OutOfMemoryError-yellowcong

来源:互联网 发布:由浅入深vc多线程编程 编辑:程序博客网 时间:2024/06/06 00:00

项目的依赖包太多了,太大了,把Maven给干完犊子了,配置JDK的vm参数,-Xms128m -Xmx512m配置完成,就OK拉,如果还是小,可以再扩大

错误

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError

这里写图片描述

设置内存最小内存和最大内存

-Xms128m -Xmx512m

这里写图片描述

参考文章

http://juvenshun.iteye.com/blog/240257

原创粉丝点击