java.lang.OutOfMemoryError: Java heap space

JFrog JIRA | Frederic Simon | 8 years ago
  1. 0

    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

    JFrog JIRA | 8 years ago | Frederic Simon
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    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

    JFrog JIRA | 8 years ago | Frederic Simon
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    JIRA hangs on clicking 'Create Issue' button after database import

    Stack Overflow | 4 years ago | jbeck
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.HashMap.addEntry()
    2. Java RT
      AbstractCollection.addAll
      1. java.util.HashMap.addEntry(HashMap.java:753)
      2. java.util.HashMap.put(HashMap.java:385)
      3. java.util.HashSet.add(HashSet.java:200)
      4. java.util.AbstractCollection.addAll(AbstractCollection.java:305)
      4 frames
    3. Jackrabbit Core
      NodeState.setPropertyNames
      1. org.apache.jackrabbit.core.state.NodeState.setPropertyNames(NodeState.java:548)
      1 frame
    4. org.apache.jackrabbit
      NodePropBundle.createNodeState
      1. org.apache.jackrabbit.core.persistence.bundle.util.NodePropBundle.createNodeState(NodePropBundle.java:177)
      1 frame
    5. Jackrabbit Core
      XASessionImpl.prepare
      1. org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.load(AbstractBundlePersistenceManager.java:436)
      2. org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1175)
      3. org.apache.jackrabbit.core.state.SharedItemStateManager.access$1100(SharedItemStateManager.java:116)
      4. org.apache.jackrabbit.core.state.SharedItemStateManager$Update.cancel(SharedItemStateManager.java:773)
      5. org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:686)
      6. org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:843)
      7. org.apache.jackrabbit.core.state.XAItemStateManager.prepare(XAItemStateManager.java:146)
      8. org.apache.jackrabbit.core.TransactionContext.prepare(TransactionContext.java:138)
      9. org.apache.jackrabbit.core.XASessionImpl.prepare(XASessionImpl.java:324)
      9 frames
    6. org.springmodules.jcr
      LocalTransactionManager.doCommit
      1. org.springmodules.jcr.jackrabbit.support.JackRabbitUserTransaction.commit(JackRabbitUserTransaction.java:101)
      2. org.springmodules.jcr.jackrabbit.LocalTransactionManager.doCommit(LocalTransactionManager.java:192)
      2 frames
    7. org.artifactory.jcr
      JcrTransactionManager.doCommit
      1. org.artifactory.jcr.JcrTransactionManager.doCommit(JcrTransactionManager.java:85)
      1 frame
    8. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:709)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:678)
      3. org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321)
      4. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116)
      4 frames
    9. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
      2 frames
    10. org.artifactory.repo
      RepositoryServiceImpl$$EnhancerByCGLIB$$a74dadb9.exportTo
      1. org.artifactory.repo.service.RepositoryServiceImpl$$EnhancerByCGLIB$$a74dadb9.exportTo(<generated>)
      1 frame
    11. org.artifactory.config
      CentralConfigServiceImpl.exportTo
      1. org.artifactory.config.CentralConfigServiceImpl.exportTo(CentralConfigServiceImpl.java:210)
      1 frame
    12. org.artifactory.spring
      ArtifactoryApplicationContext.exportTo
      1. org.artifactory.spring.ArtifactoryApplicationContext.exportTo(ArtifactoryApplicationContext.java:217)
      1 frame
    13. org.artifactory.backup
      BackupServiceImpl$$FastClassByCGLIB$$a120199b.invoke
      1. org.artifactory.backup.BackupServiceImpl.backupSystem(BackupServiceImpl.java:186)
      2. org.artifactory.backup.BackupServiceImpl$$FastClassByCGLIB$$a120199b.invoke(<generated>)
      2 frames
    14. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    15. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:628)
      1 frame
    16. org.artifactory.backup
      BackupServiceImpl$$EnhancerByCGLIB$$bce4ab74.backupSystem
      1. org.artifactory.backup.BackupServiceImpl$$EnhancerByCGLIB$$bce4ab74.backupSystem(<generated>)
      1 frame