OutOfMemoryError: Requested array size exceeds VM limit

Solution Unverified - Updated -

Issue

The following error in the JBoss logging:

ERROR [org.infinispan.transaction.TransactionCoordinator] (ajp-/172.24.159.253:8109-4) ISPN000188: Error while processing a commit in a two-phase transaction: org.infinispan.CacheException: java.lang.OutOfMemoryError: Requested array size exceeds VM limit
05:58:33,133 ERROR [org.infinispan.transaction.tm.DummyTransaction] (ajp-/172.24.159.253:8109-4) ISPN000111: afterCompletion() failed for SynchronizationAdapter{localTransaction=LocalTransaction{remoteLockedNodes=null, isMarkedForRollback=false, lockedKeys=null, backupKeyLocks=null, topologyId=-1, isFromStateTransfer=false} org.infinispan.transaction.synchronization.SyncLocalTransaction@2d8} org.infinispan.transaction.synchronization.SynchronizationAdapter@2f7: org.infinispan.CacheException: Could not commit.

Environment

  • OpenJDK
  • Oracle JDK

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.