zhli1142015 opened a new pull request, #9585: URL: https://github.com/apache/incubator-gluten/pull/9585
## What changes were proposed in this pull request? Support Jvm memory shrinking for DynamicOffHeapSizingMemoryTarget When a memory request cannot be satisfied, we first lower the value of option MaxHeapFreeRatio and trigger a full GC to force the JVM to return as much memory as possible back to the operating system. This approach incurs the overhead of a full GC each time. Currently, only Java 11 and Java 17 are supported. ``` 2025-05-09 09:35:46,862 WARN DynamicOffHeapSizingMemoryTarget [gc-thread-pool]: Starting async full gc to shrink JVM memory: Total On-heap: 58074333184, Free On-heap: 33397024368, Total Off-heap: 8388608, Used On-Heap: 24677308816, Executor memory: 60129542144. 2025-05-09 09:35:48,811 WARN DynamicOffHeapSizingMemoryTarget [gc-thread-pool]: Finished async full gc to shrink JVM memory: Total On-heap: 1199570944, Free On-heap: 116309888, Total Off-heap: 8388608, Used On-Heap: 1083261056, Executor memory: 60129542144, [GC Retry times: 0]. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
