java.lang.OutOfMemoryError: Java heap space

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 liferay.com by Unknown author, 1 year ago
via liferay.com by Unknown author, 1 year ago
via liferay.com by Unknown author, 2 years ago
java.lang.OutOfMemoryError: Java heap space
at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:172)
at com.sun.tools.javac.comp.MemberEnter.enterAnnotations(MemberEnter.java:743)
at com.sun.tools.javac.comp.MemberEnter.access$300(MemberEnter.java:42)
at com.sun.tools.javac.comp.MemberEnter$5.enterAnnotation(MemberEnter.java:711)
at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:95)
at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:87)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:472)
at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
at com.sun.tools.javac.main.Main.compile(Main.java:353)
at com.sun.tools.javac.main.Main.compile(Main.java:279)
at com.sun.tools.javac.main.Main.compile(Main.java:270)
at com.sun.tools.javac.Main.compile(Main.java:69)

Users with the same issue

You are the first who have seen this exception.

Write tip

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