[InteliJ IDEA] 系统资源不足
程序员文章站
2022-04-11 18:16:08
...
情形1:
Information:java: 系统资源不足。
Information:java: 有关详细信息, 请参阅以下堆栈跟踪。
Information:java: at java.util.HashMap.inflateTable(HashMap.java:316)
Information:java: at java.util.HashMap.put(HashMap.java:488)
Information:java: at java.util.HashSet.add(HashSet.java:217)
Information:java: at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:941)
Information:java: at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:911)
Information:java: at com.sun.tools.javac.comp.Resolve.findFun(Resolve.java:998)
Information:java: at com.sun.tools.javac.comp.Resolve.resolveMethod(Resolve.java:1419)
Information:java: at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:2157)
Information:java: at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1705)
Information:java: at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
Information:java: at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
Information:java: at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:449)
Information:java: at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1521)
Information:java: at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1321)
Information:java: at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:504)
Information:java: at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1513)
Information:java: at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:460)
Information:java: at com.sun.tools.javac.comp.Attr.visitExec(Attr.java:1294)
Information:java: at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1167)
Information:java: at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:480)
Information:java: at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:496)
Information:java: at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:918)
Information:java: at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:781)
Information:java: Errors occurred while compiling module 'game-gong'
Information:javac 7 was used to compile java sources
Information:Module "game-gong" was fully rebuilt due to project configuration/dependencies changes
Information:2018/2/25 下午4:46 - Compilation completed with 1 error and 11 warnings in 1m 54s 957ms
Error:java: OutOfMemoryError: insufficient memory
原因:idea设置编译器内存默认为700MB,需求超过这个范围则会抛出以上错误
解决方案:
若是以下操作,无效果,尝试删除项目,重新导入。
1.打开idea setting
2.修改编译器内存上限
上一篇: 常用组件及系统资源
下一篇: Python之填充数据槽
推荐阅读
-
电脑显示系统资源不足无法完成请求的服务(系统资源不足解决方法)
-
电脑显示系统资源不足无法完成请求的服务(系统资源不足解决方法)
-
电脑系统资源不足的原因及解决办法介绍
-
笔记本上不了网 提示系统资源不足,无法完成请求的服务
-
电脑系统资源不足的解决办法
-
java-15: 在Intelij IDEA中修改maven为国内镜像(阿里)
-
在Intelij IDEA中修改maven源为国内(阿里)镜像
-
[InteliJ IDEA] Error:(8, 43) java: 程序包sun.org.mozilla.javascript.internal不存在
-
InteliJ IDEA 设置eclipse快捷键
-
intelij IDEA破解