Re: [PR] CASSANDRA-19457: Memory Leak of `DefaultSession` [cassandra-java-driver]

2024-03-08 Thread via GitHub
SiyaoIsHiding commented on PR #1916: URL: https://github.com/apache/cassandra-java-driver/pull/1916#issuecomment-1986407007 I find it will lead to some missing metrics like `connected-nodes`. We need another way to fix this for sure. -- This is an automated message from the Apache Git

[PR] CASSANDRA-19457: Memory Leak of `DefaultSession` [cassandra-java-driver]

2024-03-07 Thread via GitHub
SiyaoIsHiding opened a new pull request, #1916: URL: https://github.com/apache/cassandra-java-driver/pull/1916 It is leaked by micrometer gauge initialization. I used the following `application.conf`, which includes all node and session level metrics, and the memory leak is gone. ```