[
https://issues.apache.org/jira/browse/FLINK-33990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benchao Li updated FLINK-33990:
-------------------------------
Description: TaskManager will create a new class loader for each flink job
even when it has no user jars, which may cause metaspace increasing. Flink can
use system classloader for the jobs without jars. A similar optimization has
been made in JM in FLINK-32265, it make sense to optimize it in TM. (was:
TaskManager will create a new class loader for each flink job even when it has
no user jars, which may cause metaspace increasing. Flink can use system
classloader for the jobs without jars. A similar optimization has been made in
JM, it make sense to optimize it in TM.)
> Use default classloader in TaskManager when there are no user jars for job
> --------------------------------------------------------------------------
>
> Key: FLINK-33990
> URL: https://issues.apache.org/jira/browse/FLINK-33990
> Project: Flink
> Issue Type: Sub-task
> Reporter: Dan Zou
> Priority: Major
>
> TaskManager will create a new class loader for each flink job even when it
> has no user jars, which may cause metaspace increasing. Flink can use system
> classloader for the jobs without jars. A similar optimization has been made
> in JM in FLINK-32265, it make sense to optimize it in TM.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)