Hi,
I catch "OutOfMemoryError: Metaspace" on Batch Task When Write into Clickhouse. Attached *.java file is my task code. And I find that, after running 12 tasks, the 13th task will be failed. And the exception always is "OutOfMemoryError: Metaspace". see "task-failed.png" I conf -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/path/to/hprofFile and dump the hprof file. I analyse this hprof file. And find this error occurs may not caused by my user-code. So I came here ask for your help. To confirm whether the memory leak should be caused by Flink. Attached file "java_pid29294.hprof" is the dump file. Thanks. ??QQ?????????????????? java_pid29294.hprof (81.44M, 2020??09??23?? 16:05 ????)??????????????http://mail.qq.com/cgi-bin/ftnExs_download?t=exs_ftn_download&k=71666339b499dbc2277cdd0e13640117095206000051525e14545b010349075a0a504e01570607155c020200015550080d55570e3577335258100266450d570a00545a0d1b0c434a56006304&code=9fc95d38