Arjuna JTA `OutOfMemoryError: Java heap` when starting JBoss
Issue
- The following error in the JBoss server log during startup:
ERROR [STDERR] (Thread-10): java.lang.OutOfMemoryError: Java heap space
ERROR [STDERR] (Thread-10): at com.arjuna.ats.arjuna.state.InputBuffer.unpackString(InputBuffer.java:400)
ERROR [STDERR] (Thread-10): at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.restore_state(XAResourceRecord.java:1114)
ERROR [STDERR] (Thread-10): at com.arjuna.ats.arjuna.coordinator.BasicAction.restore_state(BasicAction.java:1416)
ERROR [STDERR] (Thread-10): at com.arjuna.ats.arjuna.coordinator.BasicAction.activate(BasicAction.java:717)
ERROR [STDERR] (Thread-10): at com.arjuna.ats.arjuna.coordinator.BasicAction.activate(BasicAction.java:679)
ERROR [STDERR] (Thread-10): at com.arjuna.ats.arjuna.recovery.RecoverAtomicAction.<init>(RecoverAtomicAction.java:60)
ERROR [STDERR] (Thread-10): at com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule.doRecoverTransaction(AtomicActionRecoveryModule.java:178)
ERROR [STDERR] (Thread-10): at com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule.processTransactionsStatus(AtomicActionRecoveryModule.java:294)
ERROR [STDERR] (Thread-10): at com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule.periodicWorkSecondPass(AtomicActionRecoveryModule.java:128)
ERROR [STDERR] (Thread-10): at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:799)
ERROR [STDERR] (Thread-10): at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:412)
...
INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main): JBoss (Microcontainer) [5.2.0 (build: SVNTag=JBPAPP_5_2_0 date=201211232041)] Started in 37s:900ms
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 5.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
