Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-25318 Improvement of scheduler and execution for Flink OLAP
  3. FLINK-25794

Memory pages in LazyMemorySegmentPool should be clear after they are released to MemoryManager

    XMLWordPrintableJSON

Details

    Description

      `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

      Attachments

        Issue Links

          Activity

            People

              zjureel Fang Yong
              zjureel Fang Yong
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: