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.

  • Memory leak in rest module
    via GitHub by vania-pooh
    ,
  • Java backend StackOverflowError
    via GitHub by liyili2
    ,
  • Importing an inPlace backup folder will automatically activate an export (the inplace backup itself), and concurrency on import/export will generate an OOME in Artifactory. 2 Errors in one: - Suppress export during import RTFACT-598 - Make the export a read-only session on JCR. 008-10-05 12:45:49.210::WARN: EXCEPTION java.lang.OutOfMemoryError: Java heap space 2008-10-05 12:45:49,929 [ERROR] (artifactory.jcr.JcrTransactionManager:860) - Commit exception overridden by rollback exception java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.addEntry(HashMap.java:753) at java.util.HashMap.put(HashMap.java:385) at java.util.HashSet.add(HashSet.java:200) at java.util.AbstractCollection.addAll(AbstractCollection.java:305) at org.apache.jackrabbit.core.state.NodeState.setPropertyNames(NodeState.java:548) at org.apache.jackrabbit.core.persistence.bundle.util.NodePropBundle.createNodeState(NodePropBundle.java:177) at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:436) at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1175) at org.apache.jackrabbit.core.state.SharedItemStateManager.access$1100(SharedItemStateManager.java:116) at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.cancel(SharedItemStateManager.java:773) at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:686) at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:843) at org.apache.jackrabbit.core.state.XAItemStateManager.prepare(XAItemStateManager.java:146) at org.apache.jackrabbit.core.TransactionContext.prepare(TransactionContext.java:138) at org.apache.jackrabbit.core.XASessionImpl.prepare(XASessionImpl.java:324) at org.springmodules.jcr.jackrabbit.support.JackRabbitUserTransaction.commit(JackRabbitUserTransaction.java:101) at org.springmodules.jcr.jackrabbit.LocalTransactionManager.doCommit(LocalTransactionManager.java:192) at org.artifactory.jcr.JcrTransactionManager.doCommit(JcrTransactionManager.java:85) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:709) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:678) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635) at org.artifactory.repo.service.RepositoryServiceImpl$$EnhancerByCGLIB$$a74dadb9.exportTo(<generated>) at org.artifactory.config.CentralConfigServiceImpl.exportTo(CentralConfigServiceImpl.java:210) at org.artifactory.spring.ArtifactoryApplicationContext.exportTo(ArtifactoryApplicationContext.java:217) at org.artifactory.backup.BackupServiceImpl.backupSystem(BackupServiceImpl.java:186) at org.artifactory.backup.BackupServiceImpl$$FastClassByCGLIB$$a120199b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:628) at org.artifactory.backup.BackupServiceImpl$$EnhancerByCGLIB$$bce4ab74.backupSystem(<generated>) 2008-10-05 12:45:49,939 [ERROR] (quartz.core.JobRunShell:211) - Job DEFAULT.backupJobDetail0 threw an unhandled Exception: org.springframework.transaction.TransactionSystemException: Could not roll back JCR
    via by Frederic Simon,
  • Importing an inPlace backup folder will automatically activate an export (the inplace backup itself), and concurrency on import/export will generate an OOME in Artifactory. 2 Errors in one: - Suppress export during import RTFACT-598 - Make the export a read-only session on JCR. 008-10-05 12:45:49.210::WARN: EXCEPTION java.lang.OutOfMemoryError: Java heap space 2008-10-05 12:45:49,929 [ERROR] (artifactory.jcr.JcrTransactionManager:860) - Commit exception overridden by rollback exception java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.addEntry(HashMap.java:753) at java.util.HashMap.put(HashMap.java:385) at java.util.HashSet.add(HashSet.java:200) at java.util.AbstractCollection.addAll(AbstractCollection.java:305) at org.apache.jackrabbit.core.state.NodeState.setPropertyNames(NodeState.java:548) at org.apache.jackrabbit.core.persistence.bundle.util.NodePropBundle.createNodeState(NodePropBundle.java:177) at org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:436) at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1175) at org.apache.jackrabbit.core.state.SharedItemStateManager.access$1100(SharedItemStateManager.java:116) at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.cancel(SharedItemStateManager.java:773) at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:686) at org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:843) at org.apache.jackrabbit.core.state.XAItemStateManager.prepare(XAItemStateManager.java:146) at org.apache.jackrabbit.core.TransactionContext.prepare(TransactionContext.java:138) at org.apache.jackrabbit.core.XASessionImpl.prepare(XASessionImpl.java:324) at org.springmodules.jcr.jackrabbit.support.JackRabbitUserTransaction.commit(JackRabbitUserTransaction.java:101) at org.springmodules.jcr.jackrabbit.LocalTransactionManager.doCommit(LocalTransactionManager.java:192) at org.artifactory.jcr.JcrTransactionManager.doCommit(JcrTransactionManager.java:85) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:709) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:678) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635) at org.artifactory.repo.service.RepositoryServiceImpl$$EnhancerByCGLIB$$a74dadb9.exportTo(<generated>) at org.artifactory.config.CentralConfigServiceImpl.exportTo(CentralConfigServiceImpl.java:210) at org.artifactory.spring.ArtifactoryApplicationContext.exportTo(ArtifactoryApplicationContext.java:217) at org.artifactory.backup.BackupServiceImpl.backupSystem(BackupServiceImpl.java:186) at org.artifactory.backup.BackupServiceImpl$$FastClassByCGLIB$$a120199b.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:628) at org.artifactory.backup.BackupServiceImpl$$EnhancerByCGLIB$$bce4ab74.backupSystem(<generated>) 2008-10-05 12:45:49,939 [ERROR] (quartz.core.JobRunShell:211) - Job DEFAULT.backupJobDetail0 threw an unhandled Exception: org.springframework.transaction.TransactionSystemException: Could not roll back JCR
    via by Frederic Simon,
  • Java Heap Space OOM
    via GitHub by adriancole
    ,
  • Java Heap Space OOM
    via GitHub by teamenergy
    ,
    • java.lang.OutOfMemoryError: Java heap space at java.util.LinkedHashMap.newNode(LinkedHashMap.java:256) at java.util.HashMap.putVal(HashMap.java:630) at java.util.HashMap.put(HashMap.java:611) at java.util.HashSet.add(HashSet.java:219) at java.util.AbstractCollection.addAll(AbstractCollection.java:344) at org.meridor.perspective.sql.impl.index.impl.HashTableIndex$1.<init>(HashTableIndex.java:31) at org.meridor.perspective.sql.impl.index.impl.HashTableIndex.lambda$put$39(HashTableIndex.java:28)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,