Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. CrashReport.func_71502_e() has thrown an OutOfMemoryError
    Unsorted
    0
    1
    0
  2. JVM ran out of heap space while trying to create a copy of an existing array
    Java Runtime
    409
    424
    181

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.OutOfMemoryError: GC overhead limit exceeded
    at java.util.Arrays.copyOf(Unknown Source)
    at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
    at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
    at java.lang.AbstractStringBuilder.append(Unknown Source)
7 frames hidden

Solution

chinthana11 months ago

In Eclipse : go to Run --> Run Configurations --> then select the project under maven build --> then select the tab "JRE" --> then enter -Xmx1024m.

This should increase the memory heap for all the builds/projects. The above memory size is 1 GB.

Check the source of this solution for more info

External results for this pattern (10)

  1. clementhelyvia GitHub3 days ago
    Java heap space
    Show stack trace
  2. bentsivia GitHub3 days ago
    Java heap space
    Show stack trace
  3. aroopgangulyvia GitHub4 days ago
    Java heap space
    Show stack trace
  4. nebhalevia GitHub6 days ago
    Java heap space
    Show stack trace
  5. GC overhead limit exceeded
    Show stack trace
  6. ankur jainvia Google Groups1 week ago
    Java heap space
    Show stack trace