java.lang.OutOfMemoryError: Java heap space

Coderanch | kumarjit banerjee | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How many classes can be in one .java file? (Beginning Java forum at JavaRanch)

    coderanch.com | 2 years ago
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    How many classes can be in one .java file?

    Coderanch | 6 years ago | kumarjit banerjee
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Snowflake server crashes if client send malform request

    GitHub | 6 years ago | lianz
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Neo4j OutOfMemory problem

    Stack Overflow | 7 years ago | Edward83
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    RE: error java.net.ConnectException:Connection refused - Forums | Liferay

    liferay.com | 2 years ago
    java.lang.OutOfMemoryError: Java heap space

  1. tyson925 3 times, last 1 month ago
  2. rp 1 times, last 5 months ago
  3. rexgreenza 1 times, last 9 months ago
13 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at java.nio.HeapByteBuffer.<init>()
  2. Java RT
    ByteBuffer.allocate
    1. java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
    2. java.nio.ByteBuffer.allocate(ByteBuffer.java:312)
    2 frames
  3. Java Tools
    Main.main
    1. com.sun.tools.javac.util.DefaultFileManager$ByteBufferCache.get(DefaultFileManager.java:744)
    2. com.sun.tools.javac.util.DefaultFileManager.makeByteBuffer(DefaultFileManager.java:720)
    3. com.sun.tools.javac.util.DefaultFileManager.access$200(DefaultFileManager.java:76)
    4. com.sun.tools.javac.util.DefaultFileManager$RegularFileObject.getCharContent(DefaultFileManager.java:1350)
    5. com.sun.tools.javac.util.DefaultFileManager$RegularFileObject.getCharContent(DefaultFileManager.java:1252)
    6. com.sun.tools.javac.main.JavaCompiler.readSource(JavaCompiler.java:483)
    7. com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:550)
    8. com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:801)
    9. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
    10. com.sun.tools.javac.main.Main.compile(Main.java:353)
    11. com.sun.tools.javac.main.Main.compile(Main.java:279)
    12. com.sun.tools.javac.main.Main.compile(Main.java:270)
    13. com.sun.tools.javac.Main.compile(Main.java:69)
    14. com.sun.tools.javac.Main.main(Main.java:54)
    14 frames