Store the "WAN queue elements" in the off-heap memory by enabling the off-heap memory feature on regions associated with the Gateway Sender. An example snippet of cache configuration is given below:
<gateway-sender id="GwSender" enable-persistence="true" manual-start="true" batch-size="100" batch-time-interval="1000" remote-distributed-system-id="1" parallel="true" /> <region name="ExRegion" refid="PARTITION_REDUNDANT_PERSISTENT"> <region-attributes gateway-sender-ids="GwSender" off-heap="true" /> </region>
Environment
Pivotal GemFire 9.0 or above (any version that supports the off-heap memory feature)