You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "vinoyang (JIRA)" <ji...@apache.org> on 2018/05/05 03:01:00 UTC
[jira] [Assigned] (FLINK-9300) Improve error message when in-memory
state is too large
[ https://issues.apache.org/jira/browse/FLINK-9300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
vinoyang reassigned FLINK-9300:
-------------------------------
Assignee: vinoyang
> Improve error message when in-memory state is too large
> -------------------------------------------------------
>
> Key: FLINK-9300
> URL: https://issues.apache.org/jira/browse/FLINK-9300
> Project: Flink
> Issue Type: Improvement
> Affects Versions: 1.4.2
> Reporter: Ken Krugler
> Assignee: vinoyang
> Priority: Minor
>
> Currently in the {{MemCheckpointStreamFactory.checkSize()}} method, it can throw an {{IOException}} via:
> {code:java}
> throw new IOException(
> "Size of the state is larger than the maximum permitted memory-backed state. Size="
> + size + " , maxSize=" + maxSize
> + " . Consider using a different state backend, like the File System State backend.");{code}
> But this will happen even if you’re using the File System State backend.
> This came up here: [https://stackoverflow.com/questions/50149005/ioexception-size-of-the-state-is-larger-than-the-maximum-permitted-memory-backe]
> We could change the message to be:
> {quote}Please consider increasing the maximum permitted memory size, increasing the task manager parallelism, or using a non-memory-based state backend such as RocksDB.
> {quote}
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)