SYS.SET_CRITICAL_OFFHEAP_PERCENTAGE

Sets the percentage threshold of off-heap memory usage that triggers LowMemoryExceptions on a GemFire XD data store. This procedure executes only on the local GemFire XD data store member.

This procedure sets the percentage threshold of critical off-heap memory usage on the local GemFire XD data store. If the amount of off-heap memory being used exceeds the percentage, the member will report LowMemoryExceptions during local or client put operations into off-heap tables. The member will also inform other members in the distributed system that it has reached the critical threshold. When a data store is started with the -off-heap-size option, the default critical threshold is 90%.

Syntax

SYS.SET_CRITICAL_OFFHEAP_PERCENTAGE (
IN PERCENTAGE REAL NOT NULL
)
PERCENTAGE
The percentage of used off-heap space that triggers LowMemoryExceptions on the local GemFire XD data store.

Example

This command sets the critical threshold for off-heap memory usage on the local GemFire XD member to 99.9%:
call sys.set_critical_offheap_percentage (99.9);