java.lang.OutOfMemoryError: Java heap space

Oracle Community | 651836 | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at java.util.zip.ZipEntry.initFields()
  2. Java RT
    ZipFile$3.nextElement
    1. java.util.zip.ZipEntry.initFields(Native Method)
    2. java.util.zip.ZipEntry.<init>(ZipEntry.java:100)
    3. java.util.zip.ZipFile$3.nextElement(ZipFile.java:437)
    4. java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)
    4 frames
  3. Java Tools
    Main.main
    1. com.sun.tools.javac.jvm.ClassReader.openArchive(ClassReader.java:1447)
    2. com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:1742)
    3. com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:1882)
    4. com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1903)
    5. com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1538)
    6. com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
    7. com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:256)
    8. com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:382)
    9. com.sun.tools.javac.comp.Enter.classEnter(Enter.java:221)
    10. com.sun.tools.javac.comp.Enter.classEnter(Enter.java:235)
    11. com.sun.tools.javac.comp.Enter.complete(Enter.java:448)
    12. com.sun.tools.javac.comp.Enter.main(Enter.java:433)
    13. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:404)
    14. com.sun.tools.javac.main.Main.compile(Main.java:592)
    15. com.sun.tools.javac.main.Main.compile(Main.java:544)
    16. com.sun.tools.javac.Main.compile(Main.java:67)
    17. com.sun.tools.javac.Main.main(Main.java:52)
    17 frames