You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nico Kruber (Jira)" <ji...@apache.org> on 2020/11/11 23:09:00 UTC
[jira] [Resolved] (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 ]
Nico Kruber resolved FLINK-9300.
--------------------------------
Resolution: Cannot Reproduce
Closing due to inactivity.
> 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
> Components: Runtime / State Backends
> Affects Versions: 1.4.2
> Reporter: Kenneth William Krugler
> 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
(v8.3.4#803005)