IDEA - 如何解决在IDEA中,执行项目CLEAN操作时报错:GC overhead limit exceeded?

错误信息

[INFO] Scanning for projects...
[ERROR] GC overhead limit exceeded -> [Help 1]
[ERROR] 
[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

Process finished with exit code 1

IDEA - 如何解决在IDEA中,执行项目CLEAN操作时报错:GC overhead limit exceeded?_第1张图片

解决方案

由于项目太大了,MAVEN在执行过程中内存不够,需要在IDEA中给MAVEN配置足够大的内存。
IDEA - 如何解决在IDEA中,执行项目CLEAN操作时报错:GC overhead limit exceeded?_第2张图片

欢迎交流

请添加图片描述

你可能感兴趣的:(MAVEN相关,intellij-idea,maven)