IntelliJ IDEA:Build Project上的StackOverflowError [英] IntelliJ IDEA: StackOverflowError on Build Project

查看:1276
本文介绍了IntelliJ IDEA:Build Project上的StackOverflowError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用以下IntelliJ。

I am using the following IntelliJ.

IntelliJ IDEA 2017.2 EAP
Build #IU-172.2953.9, built on June 14, 2017
IntelliJ IDEA EAP User
Expiration date: July 14, 2017
JRE: 1.8.0_152-release-915-b3 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.5

我一直在<在构建项目时强> java.lang.StackOverflowError 。

有没有人陷入同样的​​境地?



构建消息↓

Has anyone fallen into the same situation?

Build Message↓

Information:java: The system is out of resources.
Information:java: Consult the following stack trace for details.
Information:java:   at com.sun.tools.javac.code.Types$13.visitClassType(Types.java:1955)
Information:java:   at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:786)
Information:java:   at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4571)
Information:java:   at com.sun.tools.javac.code.Types.asSuper(Types.java:1952)
Information:java:   at com.sun.tools.javac.code.Types.unboxedType(Types.java:3987)
Information:java:   at com.sun.tools.javac.code.Types.unboxedTypeOrType(Types.java:3998)
Information:java:   at com.sun.tools.javac.comp.DeferredAttr$ArgumentExpressionKind.standaloneKind(DeferredAttr.java:1135)
Information:java:   at com.sun.tools.javac.comp.DeferredAttr$DeferredChecker.visitLiteral(DeferredAttr.java:1296)
Information:java:   at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2037)
Information:java:   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
Information:java:   at com.sun.tools.javac.comp.DeferredAttr$FilterScanner.scan(DeferredAttr.java:913)
Information:java:   at com.sun.tools.javac.comp.DeferredAttr.isDeferred(DeferredAttr.java:1100)
Information:java:   at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:669)
Information:java:   at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1815)
Information:java:   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)
Information:java:   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:575)
Information:java:   at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:3249)
Information:java:   at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1897)
Information:java:   at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1824)
Information:java: Errors occurred while compiling module 'webapi'
Information:javac 1.8.0_101 was used to compile java sources
Information:2017/06/21 21:22 - Compilation completed with 1 error and 49 warnings in 24s 170ms
Error:java: java.lang.StackOverflowError


推荐答案

-Xss4m 添加到构建过程VM选项应该有所帮助:

Adding -Xss4m to the build process VM options should help:

这篇关于IntelliJ IDEA:Build Project上的StackOverflowError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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