Arjuna JTA `OutOfMemoryError: Java heap` when starting JBoss

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content