How to Store WAN Queue Elements in the Off-Heap Memory
search cancel

How to Store WAN Queue Elements in the Off-Heap Memory

book

Article ID: 294153

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

As stated in the GemFire documentation, "WAN queue elements" can be stored in the off-heap memory. This article describes how to configure a Multi-site (WAN) gateway sender to use off-heap memory.

Environment


Resolution

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>


Additional Information

Environment

Pivotal GemFire 9.0 or above (any version that supports the off-heap memory feature)