Sets the percentage threshold of Java heap memory usage that triggers
LowMemoryExceptions on a SnappyData data store. This procedure executes only on the local SnappyData data store member.
This procedure sets the percentage threshold of critical Java heap memory usage on the local SnappyData data store. If the amount of heap memory being used exceeds the percentage, the member will report LowMemoryExceptions during local or client put operations into 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
-heap-size option, the default critical threshold is 90%.
SYS.SET_CRITICAL_HEAP_PERCENTAGE ( IN PERCENTAGE REAL NOT NULL )
The percentage of used heap space that triggers
LowMemoryExceptions on the local SnappyData data store.
This command sets the critical threshold for heap memory usage on the local SnappyData member to 99.9%:
snappy>call sys.set_critical_heap_percentage (99.9);