Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

多线程写入数据的时候会频繁触发GC #433

Open
tongle1 opened this issue Jan 13, 2023 · 0 comments
Open

多线程写入数据的时候会频繁触发GC #433

tongle1 opened this issue Jan 13, 2023 · 0 comments

Comments

@tongle1
Copy link

tongle1 commented Jan 13, 2023

Environment

  • OS version:
  • JDK version:java8
  • ClickHouse Server version: clickhouse-server-22.8.4.7
  • ClickHouse Native JDBC version:2.6.5
  • (Optional) Spark version: N/A
  • (Optional) Other components' version: N/A

Error logs

使用多线程写入clickhouse,每次都是新建连接,写数据到block,insertrequest,block.initWriteBuffer(),block.cleanup();CKConnection.close();观察客户端内存会一直增加,然后触发fullGC,写入效率受影响,请问有什么方法解决吗?

paste your error logs here

Steps to reproduce

Other descriptions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant