My Oracle Support Banner

Retained Heap By ReplicatedMemorySwap Instance Causing OutOfMemory Exceptions (Doc ID 1500791.1)

Last updated on JUNE 07, 2022

Applies to:

Oracle WebLogic Server - Version 9.2.4 to
Information in this document applies to any platform.



An application consisting of EJB stateful beans is deployed into a  WLS cluster  (10.3.5 version).

This EJB Stateful  uses in-memory replication  with the following configuration :





 While invoking  the Stateful Session beans , slowly the Java Heap Memory  increase  . And, as a consequence,  OutOfMemoryError exceptions occur .

Heap Dumps show that  weblogic.ejb.container.swap.ReplicatedMemorySwap instance (previousVersionMap and secondaryBeanMap data fields)   related to the Stateful bean is retaining most of the memory. 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.