When using ZGC as the garbage collector, users may encounter the following exception during query execution:
Garbage Collector: ZGC enabled
Configuration: Resource Manager thresholds set
The issue is caused by the way Resource Manager calculates memory usage thresholds when ZGC is used.
With ZGC, “tenured heap” metrics are not a reliable indicator of memory pressure.
The Resource Manager may incorrectly assume a critical threshold has been crossed, which triggers query cancellation.
This behavior was identified as a product defect (GEM-7732).
Configure SoftMaxHeapSize on the server side to provide a more accurate signal of memory usage under ZGC.
Upgrade to a version where the defect is resolved:
9.15.13
10.0.5
10.1.2 and later
These versions include the fix for GEM-7732, ensuring ZGC behavior is properly handled by the Resource Manager.