You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project I have a pool of long-living connections to ClickHouse.
Each of them holds a buffer clickhouse.connect.buffer, which leads to overall big memory usage
I would like to have more control over these buffers – to be able to drop them without closing the connection
Possible solutions:
Add an option to clickhouse.Options like FreeBuffersOnRelease, which would trigger drop of the buffer on every connection release
(Replace b.Buf = b.Buf[:0] with b.Buf = nil)
The text was updated successfully, but these errors were encountered:
In my project I have a pool of long-living connections to ClickHouse.
Each of them holds a buffer
clickhouse.connect.buffer
, which leads to overall big memory usageI would like to have more control over these buffers – to be able to drop them without closing the connection
Possible solutions:
Add an option to
clickhouse.Options
likeFreeBuffersOnRelease
, which would trigger drop of thebuffer
on every connection release(Replace
b.Buf = b.Buf[:0]
withb.Buf = nil
)The text was updated successfully, but these errors were encountered: