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 web15

  • via GitHub by natemccoy
    ,
  • Stack trace

    • java.lang.OutOfMemoryError: Java heap space at com.sun.tools.javac.util.ArrayUtils.ensureCapacity(ArrayUtils.java:60) at com.sun.tools.javac.util.SharedNameTable.fromUtf(SharedNameTable.java:130) at com.sun.tools.javac.util.Names.fromUtf(Names.java:342) at com.sun.tools.javac.util.ByteBuffer.toName(ByteBuffer.java:159) at com.sun.tools.javac.jvm.ClassWriter$CWSignatureGenerator.toName(ClassWriter.java:328) at com.sun.tools.javac.jvm.ClassWriter$CWSignatureGenerator.access$300(ClassWriter.java:273) at com.sun.tools.javac.jvm.ClassWriter.typeSig(ClassWriter.java:343) at com.sun.tools.javac.jvm.ClassWriter.writeMethod(ClassWriter.java:1106) at com.sun.tools.javac.jvm.ClassWriter.writeMethods(ClassWriter.java:1603) at com.sun.tools.javac.jvm.ClassWriter.writeClassFile(ClassWriter.java:1693) at com.sun.tools.javac.jvm.ClassWriter.writeClass(ClassWriter.java:1621) at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:746) at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1572) at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1536) at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860) 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) at com.sun.tools.javac.Main.main(Main.java:42)

    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,