You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zhu Zhu (Jira)" <ji...@apache.org> on 2020/11/23 03:08:00 UTC

[jira] [Commented] (FLINK-20282) Make invalid managed memory fraction errors more advisory in MemoryManager

    [ https://issues.apache.org/jira/browse/FLINK-20282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237082#comment-17237082 ] 

Zhu Zhu commented on FLINK-20282:
---------------------------------

cc [~xintongsong]

> 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
>            Priority: Critical
>             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)