Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-15037

Introduce LimittingMemoryManager as operator scope MemoyManager

    XMLWordPrintableJSON

Details

    Description

      Current MemoryManager is slot scope component, and the operators needs to use a fraction to compute memory size/pages it can allocate and use it to reserver memory or allocate pages.
      This, however, requires operators to be aware of the managed memory fraction. There is also risk that one operator may over allocate resources than it has declared and causes other operators to break.

      To separate concerns, we can introduce a LimittingMemoryManager which wraps the the original MemoryManager but limit the available memory size to the fraction of total memory governed by the original one. This wrapper would be a operator scope MemoryManager.

      Some more detailed discussions can be found in FLINK-14936.

      cc azagrebin

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zhuzh Zhu Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: