Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多线程写入数据的时候会频繁触发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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant