This is not a proper bug report, just an unconfirmed observation.
But still - might it be possible, that this library doesn't free some memory during the garbage collection?
To be more specific - I'm working with on a multi threaded application, which is generating data in huge speeds and in parallel and the data is being saved into cassandra using this library. The code works (at least better when comparing to Kundera from the beginning), but it seems to me, that the library doesn't free some memory. It looks to me, like there was a query cache or statement cache or some query log, which collects small amounts of data after each query call and since the app is making millions of queries, the amount of used memory slowly grows, until the data doesn't fit into the RAM. When I was profiling the app, I've seen, that the memory amount is growing until the garbage collection phase, after which the memory usage shrinks, but not exactly to the amount from the last garbage collection phase, but a little above this value. When this happens repeatedly during a couple of hours, the app has no other memory to use and it begins to get stuck in the garbage collection loop.
Is my observation correct? Might there be a bug?
The other option would be, that there is a bug in my app, but I don't think that might be the case, because the same app has worked correctly using hibernate (when I was storing the data into postgresql). That means that I didn't change any algorithm, just the persistence layer.
Any help appreciated. Thank you.