Re: OutOfMemoryError: Metaspace on Batch Task When Write into Clickhouse

2020-08-24 Thread Till Rohrmann
at >>> com.xxx.clickhouse.ClickHouseJDBCOutputFormat.open(ClickHouseJDBCOutputFormat.java:53) >>> at >>> org.apache.flink.runtime.operators.DataSinkTask.invoke(DataSinkTask.java:205) >>> at >>> org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:707) &

Re: OutOfMemoryError: Metaspace on Batch Task When Write into Clickhouse

2020-08-24 Thread Till Rohrmann
va:532) >> at java.lang.Thread.run(Thread.java:748) >> >> >> >> >> is different with the exception info in last email. >> >> >> So analyse the dump file is the key. >> >> >> >> >> >> >>

Re: OutOfMemoryError: Metaspace on Batch Task When Write into Clickhouse

2020-08-24 Thread Till Rohrmann
 at java.lang.Thread.run(Thread.java:748) > > > > > is different with the exception info in last email. > > > So analyse the dump file is the key. > > > > > > > -- 原始邮件 ------ > 发件人: > "耿延杰" >

??????OutOfMemoryError: Metaspace on Batch Task When Write into Clickhouse

2020-08-24 Thread ??????
Still failed after every 12 tasks.  And the exception stack of failed tasks is different. such as the recent failed tasks's exception info: Caused by: java.lang.OutOfMemoryError: Metaspace at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoad

??????OutOfMemoryError: Metaspace on Batch Task When Write into Clickhouse

2020-08-24 Thread ??????
Additional info: The exception info in Flink Manager Page: Caused by: java.lang.OutOfMemoryError: Metaspace at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:757) at java.security.SecureClassLoader.defineClass(SecureClassLoa

Re: OutOfMemoryError: Metaspace on Batch Task When Write into Clickhouse

2020-08-24 Thread Chesnay Schepler
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

Re: OutOfMemoryError: Metaspace on Batch Task When Write into Clickhouse

2020-08-24 Thread Till Rohrmann
what is going wrong. Cheers, Till On Mon, Aug 24, 2020 at 10:22 AM 耿延杰 wrote: > 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

OutOfMemoryError: Metaspace on Batch Task When Write into Clickhouse

2020-08-24 Thread ??????
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