Which Flink version are you using? On 24/08/2020 10:20, ?????? wrote:
Hi,I catch?0?2 "OutOfMemoryError: Metaspace" on Batch Task When Write into Clickhouse.Attached?0?2 *.java file?0?2 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??????????????????* <http://mail.qq.com/cgi-bin/ftnExs_download?t=exs_ftn_download&k=71666339b499dbc2277cdd0e13640117095206000051525e14545b010349075a0a504e01570607155c020200015550080d55570e3577335258100266450d570a00545a0d1b0c434a56006304&code=9fc95d38>java_pid29294.hprof <http://mail.qq.com/cgi-bin/ftnExs_download?t=exs_ftn_download&k=71666339b499dbc2277cdd0e13640117095206000051525e14545b010349075a0a504e01570607155c020200015550080d55570e3577335258100266450d570a00545a0d1b0c434a56006304&code=9fc95d38>(81.44M, 2020??09??23?? 16:05 ????) ???????????? <http://mail.qq.com/cgi-bin/ftnExs_download?t=exs_ftn_download&k=71666339b499dbc2277cdd0e13640117095206000051525e14545b010349075a0a504e01570607155c020200015550080d55570e3577335258100266450d570a00545a0d1b0c434a56006304&code=9fc95d38>??http://mail.qq.com/cgi-bin/ftnExs_download?t=exs_ftn_download&k=71666339b499dbc2277cdd0e13640117095206000051525e14545b010349075a0a504e01570607155c020200015550080d55570e3577335258100266450d570a00545a0d1b0c434a56006304&code=9fc95d38