java.lang.OutOfMemoryError: GC overhead limit exceeded

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by alephman
, 1 year ago
GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.sun.tools.javac.comp.Resolve.findMethodInScope(Resolve.java:1626)
at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1719)
at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:1671)
at com.sun.tools.javac.comp.Resolve$9.doLookup(Resolve.java:2424)
at com.sun.tools.javac.comp.Resolve$BasicLookupHelper.lookup(Resolve.java:3083)
at com.sun.tools.javac.comp.Resolve.lookupMethod(Resolve.java:3334)
at com.sun.tools.javac.comp.Resolve.resolveQualifiedMethod(Resolve.java:2421)
at com.sun.tools.javac.comp.Resolve.resolveQualifiedMethod(Resolve.java:2415)
at com.sun.tools.javac.comp.Resolve.resolveQualifiedMethod(Resolve.java:2410)
at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:301)
at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:236)
at com.sun.tools.javac.comp.MemberEnter.actualEnterAnnotations(MemberEnter.java:923)
at com.sun.tools.javac.comp.MemberEnter.access$600(MemberEnter.java:64)
at com.sun.tools.javac.comp.MemberEnter$5.run(MemberEnter.java:876)
at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:143)
at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:129)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:512)
at com.sun.tools.javac.comp.Enter.main(Enter.java:471)
at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:982)
at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.enterTrees(JavacProcessingEnvironment.java:1015)
at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.(JavacProcessingEnvironment.java:902)
at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.next(JavacProcessingEnvironment.java:921)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1187)
at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
at com.sun.tools.javac.main.Main.compile(Main.java:523)
at com.sun.tools.javac.main.Main.compile(Main.java:381)
at com.sun.tools.javac.main.Main.compile(Main.java:370)
at com.sun.tools.javac.main.Main.compile(Main.java:361)
at com.sun.tools.javac.Main.compile(Main.java:56)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.