java.lang.OutOfMemoryError: Java heap space

Coderanch | amit lkumar | 7 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.
  1. 0

    Java out of memory Exception

    Coderanch | 7 years ago | amit lkumar
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Java heap space

    Google Groups | 6 years ago | PR
    java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How to set the compiler to handle thousand loops ?

    Google Groups | 8 years ago | tobleron
    java.lang.reflect.InvocationTargetException
  5. 0

    BATCH: All dressed up, with nowhere to go...

    apache.org | 1 year ago
    java.lang.OutOfMemoryError: Java heap space

  1. linxiaolong 2 times, last 2 months ago
1 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.util.Arrays.copyOfRange()
  2. Java RT
    StringBuffer.toString
    1. java.util.Arrays.copyOfRange(Arrays.java:3210)
    2. java.lang.String.<init>(String.java:216)
    3. java.lang.StringBuffer.toString(StringBuffer.java:585)
    3 frames
  3. org.netbeans.lib
    ProfilerRuntimeMemory.traceVMObjectAlloc
    1. org.netbeans.lib.profiler.server.ProfilerRuntimeMemory.traceVMObjectAlloc(ProfilerRuntimeMemory.java:170)
    1 frame
  4. Java RT
    Throwable.getStackTrace
    1. java.lang.Throwable.getStackTraceElement(Native Method)
    2. java.lang.Throwable.getOurStackTrace(Throwable.java:590)
    3. java.lang.Throwable.getStackTrace(Throwable.java:582)
    3 frames
  5. TomEE Juli
    DirectJDKLog.error
    1. org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:155)
    2. org.apache.juli.logging.DirectJDKLog.error(DirectJDKLog.java:135)
    2 frames
  6. Glassfish Core
    ContainerBase$ContainerBackgroundProcessor.run
    1. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1603)
    2. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
    3. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
    3 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame