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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)