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, 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