java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Meryam Belhiah,
  • 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)
    via by Meryam Belhiah,
    • java.lang.OutOfMemoryError: Java heap space at java.util.ArrayList.iterator(Unknown Source) at java.util.Collections$SynchronizedCollection.iterator(Unknown Source) at com.persistit.Persistit.pollAlertMonitors(Persistit.java:2285) at com.persistit.Persistit$LogFlusher.run(Persistit.java:192)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,