问题
IDEA启动项目报错:
java.lang.OutOfMemoryError: GC overhead limit exceeded
问题解决步骤
第一步:
打开help -> Edit Custom VM Options ,修改xms和xmx的大小,如下图:
第二步:
File -> Settings -> Build,Execution,Deployment -> Compiler ,修改heapSize,如下图:
注意
上面修改内容需要根据自己内存情况适当修改。
IDEA启动项目报错:
java.lang.OutOfMemoryError: GC overhead limit exceeded
打开help -> Edit Custom VM Options ,修改xms和xmx的大小,如下图:
File -> Settings -> Build,Execution,Deployment -> Compiler ,修改heapSize,如下图:
上面修改内容需要根据自己内存情况适当修改。