ClickHouse / ClickHouse/clickhouse-java
addBatch method cause Java heap memory char array grows too fast
Open
jdbc-v1
jdbc-v2
question
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 636
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 28
Description

The scenario involves a large number of calls to the addBatch method, Then use jmap to view heap memory,has lots of char[],although they are all unreachable objects that can be GC dropped.But it will lead to frequent GC and high CPU usage. How to solve it
Contributor guide
Assessment
This issue has not been assessed yet.