[ https://issues.apache.org/jira/browse/FLINK-25794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481690#comment-17481690 ]
Jingsong Lee commented on FLINK-25794: -------------------------------------- [~zjureel] What do you mean? Memory leak in `BinaryHashTableTest.testBinaryHashBucketAreaNotEnoughMem`? > 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.11.6, 1.13.5, 1.14.3 > Reporter: Shammon > Assignee: Shammon > Priority: Major > Labels: pull-request-available > > `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)