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

Yuan Huang  commented on FLINK-27817:
-------------------------------------

There are many duplicate codes generated for different SQL jobs. Since they are 
actually representing the same logic, I guess if we make several jobs share the 
generated class, the generated class will reduce much so the metaspace memory 
can be saved.

> TaskManager metaspace OOM for session cluster
> ---------------------------------------------
>
>                 Key: FLINK-27817
>                 URL: https://issues.apache.org/jira/browse/FLINK-27817
>             Project: Flink
>          Issue Type: New Feature
>          Components: Runtime / Task
>            Reporter: godfrey he
>            Priority: Major
>
> From user ML: 
> https://www.mail-archive.com/[email protected]/msg15224.html
> For SQL jobs, the most operators are code generated with *unique class name*, 
> this will cause the TM metaspace space continued growth until OOM in a 
> session cluster.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to