Performance tuning | Tune in-memory cache size


Control DRS message size


Cache replication distributes cache entries and invalidations in the form of DRS messages.

In the past when we had no ability to control DRS message size, depending on the size of your cache, the DRS messages generated can be very large, often times hundreds of KB or several MB in some extreme cases. A busy WebSphere Commerce JVM is usually fragmented. Finding this much contiguous space in a fragmented JVM is often impossible, and when this happens, an Out Of Memory condition is triggered and causes the JVM to crash.

A solution is now available to address this problem.

With two new APARs or WebSphere Application Server fix pack 6.0.2.19 or later, you can now control the DRS message size and replicate smaller DRS objects and in batches.

The two APARs are:

These fixes appear to only be relevant if you are using PUSH for replication mode.

The batch size of the replication data can now be configured using the following custom properties: