java.lang.OutOfMemoryError

Java heap space

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web35

  • via Unknown by saikrishna cinux,
  • via Unknown by Abhishek kumar,
  • Stack trace

    • java.lang.OutOfMemoryError: Java heap space at java.nio.HeapCharBuffer.<init>(HeapCharBuffer.java:39) at java.nio.CharBuffer.allocate(CharBuffer.java:312) at com.sun.tools.javac.util.DefaultFileManager.decode(DefaultFileManager.java:582) at com.sun.tools.javac.util.DefaultFileManager.access$300(DefaultFileManager.java:54) at com.sun.tools.javac.util.DefaultFileManager$RegularFileObject.getCharContent(DefaultFileManager.java:744) at com.sun.tools.javac.util.DefaultFileManager$RegularFileObject.getCharContent(DefaultFileManager.java:637) at com.sun.tools.javac.main.JavaCompiler.readSource(JavaCompiler.java:416) at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:480) at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:697) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:629) at com.sun.tools.javac.main.Main.compile(Main.java:761) at com.sun.tools.javac.main.Main.compile(Main.java:686) at com.sun.tools.javac.main.Main.compile(Main.java:675) at com.sun.tools.javac.Main.compile(Main.java:70) at com.sun.tools.javac.Main.main(Main.java:55)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,