Shammon created FLINK-25794: ------------------------------- Summary: Memory pages in LazyMemorySegmentPool should be clear after they are released to MemoryManager Key: FLINK-25794 URL: https://issues.apache.org/jira/browse/FLINK-25794 Project: Flink Issue Type: Sub-task Components: Table SQL / Runtime Affects Versions: 1.14.3, 1.13.5, 1.11.6 Reporter: Shammon
`LazyMemorySegmentPool` manages memory segments cache for join, agg, sort and etc. operators. These segments in the cache will be released to `MemoryManager` after some specify operations such as join operator finishes to build data in `LazyMemorySegmentPool.cleanCache` method. But these segments are still in `LazyMemorySegmentPool.cachePages`, it may cause memory fault if the `MemoryManager` has deallocated these segments -- This message was sent by Atlassian Jira (v8.20.1#820001)