You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Zhu Zhu (Jira)" <ji...@apache.org> on 2019/11/25 07:00:14 UTC

[jira] [Created] (FLINK-14936) Introduce MemoryManager#computeMemorySize to calculate managed memory of an operator from a fraction

Zhu Zhu created FLINK-14936:
-------------------------------

             Summary: Introduce MemoryManager#computeMemorySize to calculate managed memory of an operator from a fraction
                 Key: FLINK-14936
                 URL: https://issues.apache.org/jira/browse/FLINK-14936
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
    Affects Versions: 1.10.0
            Reporter: Zhu Zhu




I'd propose to MemoryManager#computeMemorySize(double fraction) which calculates managed memory from a fraction.
It can be helpful for operators to get the memory size it can reserve and for further #reserveMemory. (Similar to #computeNumberOfPages).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)