Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: GC overhead limit exceeded #5180

Closed
zhangnd opened this issue May 9, 2018 · 2 comments
Assignees

Comments

@zhangnd
Copy link

zhangnd commented May 9, 2018

platform: ubuntu-16.04.3(64 bit system)

bazel-0.11.1-dist.zip

$ sudo apt install openjdk-8-jdk
$ cd bazel-0.11.1-dist/
$ ./compile.sh

========================================================
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.sun.tools.javac.util.List.prepend(List.java:228)
at com.sun.tools.javac.code.Types$Subst.subst(Types.java:3021)
at com.sun.tools.javac.code.Types.subst(Types.java:2974)
at com.sun.tools.javac.code.Types$19.visitClassType(Types.java:2420)
at com.sun.tools.javac.code.Types$19.visitClassType(Types.java:2388)
at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:786)
at com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:4652)
at com.sun.tools.javac.code.Types.interfaces(Types.java:2385)
at com.sun.tools.javac.code.Types$13.visitClassType(Types.java:1973)
at com.sun.tools.javac.code.Types$13.visitClassType(Types.java:1955)
at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:786)
at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4571)
at com.sun.tools.javac.code.Types.asSuper(Types.java:1952)
at com.sun.tools.javac.code.Types$4.visitClassType(Types.java:921)
at com.sun.tools.javac.code.Types$4.visitClassType(Types.java:844)
at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:786)
at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4571)
at com.sun.tools.javac.code.Types.isSubtype(Types.java:840)
at com.sun.tools.javac.code.Types.isSubtype(Types.java:804)
at com.sun.tools.javac.code.Types.isSubtypeUncheckedInternal(Types.java:757)
at com.sun.tools.javac.code.Types.isSubtypeUnchecked(Types.java:741)
at com.sun.tools.javac.comp.Resolve$MethodCheckContext.compatible(Resolve.java:967)
at com.sun.tools.javac.comp.Check.checkType(Check.java:546)
at com.sun.tools.javac.comp.Attr$ResultInfo.check(Attr.java:482)
at com.sun.tools.javac.comp.Resolve$MethodResultInfo.check(Resolve.java:1015)
at com.sun.tools.javac.comp.Resolve$4.checkArg(Resolve.java:835)
at com.sun.tools.javac.comp.Resolve$AbstractMethodCheck.argumentsAcceptable(Resolve.java:735)
at com.sun.tools.javac.comp.Resolve$4.argumentsAcceptable(Resolve.java:844)
at com.sun.tools.javac.comp.Infer.instantiateMethod(Infer.java:162)
at com.sun.tools.javac.comp.Resolve.rawInstantiate(Resolve.java:567)
at com.sun.tools.javac.comp.Resolve.selectBest(Resolve.java:1446)
at com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1633)

@philwo
Copy link
Member

philwo commented Jul 19, 2018

Looks like you ran out of memory. Can you give some details about your environment? Did this run on physical hardware or in a VM or in a container? How much RAM and how many CPU cores do you have?

@aiuto
Copy link
Contributor

aiuto commented Apr 2, 2019

Closing for lack of action. Please reopen if this is still an issue.

@aiuto aiuto closed this as completed Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants