[
https://issues.apache.org/jira/browse/FLINK-22751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tzu-Li (Gordon) Tai reassigned FLINK-22751:
-------------------------------------------
Assignee: Tzu-Li (Gordon) Tai
> Reduce JVM Metaspace memory for StateFun
> ----------------------------------------
>
> Key: FLINK-22751
> URL: https://issues.apache.org/jira/browse/FLINK-22751
> Project: Flink
> Issue Type: Sub-task
> Components: Stateful Functions
> Reporter: Stephan Ewen
> Assignee: Tzu-Li (Gordon) Tai
> Priority: Major
>
> Flink by default reserves quite a lot of metaspace memory (256 MB) out of the
> total memory budget, to accommodate applications that load (and reload) a lot
> of classes. That is necessary because user code is executed directly in the
> JVM.
> StateFun by default doesn't execute code in the JVM, so it needs much less
> Metaspace memory. I would suggest to reduce the Metaspace size to something
> like 64MB or 96MB by default.
> {{taskmanager.memory.jvm-metaspace.size: 64m}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)