java.lang.OutOfMemoryError: Java heap space

JIRA | Meryam Belhiah | 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

    I launched import command. Before, it was taking 1 minute on average per participant, now it takes 36 minutes and also I had an out of memory error, even if the RAM available is 4G. 010-07-06 11:22:31,641 - WARN - ehcache.store.DiskStore - org.hibernate.cache.UpdateTimestampsCacheCache: Expiry thread throwable caught. Message was: Java heap space. Continuing... java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.newValueIterator(HashMap.java:843) at java.util.HashMap$Values.iterator(HashMap.java:910) at java.util.Collections$SynchronizedCollection.iterator(Collections.java:1573) at net.sf.ehcache.store.DiskStore.expireElements(DiskStore.java:858) at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:832) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:59) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:1008) 2010-07-06 11:22:31,642 - WARN - ehcache.store.DiskStore - org.hibernate.cache.UpdateTimestampsCacheCache: Expiry thread throwable caught. Message was: Java heap space. Continuing... java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.newValueIterator(HashMap.java:843) at java.util.HashMap$Values.iterator(HashMap.java:910) at java.util.Collections$SynchronizedCollection.iterator(Collections.java:1573) at net.sf.ehcache.store.DiskStore.expireElements(DiskStore.java:858) at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:832) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:59) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:1008) 2010-07-06 11:22:31,642 - ERROR - jetty.util.log - EXCEPTION java.lang.OutOfMemoryError: Java heap space 2010-07-06 11:22:31,641 - WARN - ehcache.store.DiskStore - org.obiba.magma.datasource.hibernate.domain.VariableStateCache: Expiry thread throwable caught. Message was: Java heap space. Continuing... java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.newValueIterator(HashMap.java:843) at java.util.HashMap$Values.iterator(HashMap.java:910) at java.util.Collections$SynchronizedCollection.iterator(Collections.java:1573) at net.sf.ehcache.store.DiskStore.expireElements(DiskStore.java:858) at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:832) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:59) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:1008)

    JIRA | 7 years ago | Meryam Belhiah
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    I launched import command. Before, it was taking 1 minute on average per participant, now it takes 36 minutes and also I had an out of memory error, even if the RAM available is 4G. 010-07-06 11:22:31,641 - WARN - ehcache.store.DiskStore - org.hibernate.cache.UpdateTimestampsCacheCache: Expiry thread throwable caught. Message was: Java heap space. Continuing... java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.newValueIterator(HashMap.java:843) at java.util.HashMap$Values.iterator(HashMap.java:910) at java.util.Collections$SynchronizedCollection.iterator(Collections.java:1573) at net.sf.ehcache.store.DiskStore.expireElements(DiskStore.java:858) at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:832) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:59) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:1008) 2010-07-06 11:22:31,642 - WARN - ehcache.store.DiskStore - org.hibernate.cache.UpdateTimestampsCacheCache: Expiry thread throwable caught. Message was: Java heap space. Continuing... java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.newValueIterator(HashMap.java:843) at java.util.HashMap$Values.iterator(HashMap.java:910) at java.util.Collections$SynchronizedCollection.iterator(Collections.java:1573) at net.sf.ehcache.store.DiskStore.expireElements(DiskStore.java:858) at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:832) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:59) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:1008) 2010-07-06 11:22:31,642 - ERROR - jetty.util.log - EXCEPTION java.lang.OutOfMemoryError: Java heap space 2010-07-06 11:22:31,641 - WARN - ehcache.store.DiskStore - org.obiba.magma.datasource.hibernate.domain.VariableStateCache: Expiry thread throwable caught. Message was: Java heap space. Continuing... java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.newValueIterator(HashMap.java:843) at java.util.HashMap$Values.iterator(HashMap.java:910) at java.util.Collections$SynchronizedCollection.iterator(Collections.java:1573) at net.sf.ehcache.store.DiskStore.expireElements(DiskStore.java:858) at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:832) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:59) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:1008)

    JIRA | 7 years ago | Meryam Belhiah
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Exception in thread "CLEANUP_MANAGER" java.lang.OutOfMemoryError: Java heap space

    Google Groups | 6 months ago | Unknown author
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BehaviorSpace crashes when running on 160 cpus

    GitHub | 12 months ago | rfmvh
    java.lang.OutOfMemoryError: GC overhead limit exceeded
  6. 0

    Getting java.lang.OutOfMemoryError: GC overhead limit exceeded while reading excel file

    Stack Overflow | 2 months ago | Amandeep Singh
    java.lang.OutOfMemoryError: GC overhead limit exceeded

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.util.HashMap.newValueIterator()
    2. Java RT
      Collections$SynchronizedCollection.iterator
      1. java.util.HashMap.newValueIterator(HashMap.java:843)
      2. java.util.HashMap$Values.iterator(HashMap.java:910)
      3. java.util.Collections$SynchronizedCollection.iterator(Collections.java:1573)
      3 frames
    3. Ehcache
      DiskStore$ExpiryThread.run
      1. net.sf.ehcache.store.DiskStore.expireElements(DiskStore.java:858)
      2. net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:832)
      3. net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:59)
      4. net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:1008)
      4 frames