Zhu Zhu created FLINK-20282: ------------------------------- Summary: Make invalid managed memory fraction errors more advisory in MemoryManager Key: FLINK-20282 URL: https://issues.apache.org/jira/browse/FLINK-20282 Project: Flink Issue Type: Improvement Components: Runtime / Coordination Affects Versions: 1.12.0 Reporter: Zhu Zhu Fix For: 1.12.0
The invalid managed memory fraction errors[1] reported from MemoryManager are not advisory for users to solve the problem. This error happens when managed memory is required for a use case but its weight is 0. I think it would be better to enrich the error message to guide users to properly configure "taskmanager.memory.managed.consumer-weights". [1] "Caused by: java.lang.IllegalArgumentException: The fraction of memory to allocate must within (0, 1], was: 0.0" -- This message was sent by Atlassian Jira (v8.3.4#803005)