Hello! Looks like a bug. Track it at https://issues.apache.org/jira/browse/IGNITE-10224
Regards, -- Ilya Kasnacheev вт, 30 окт. 2018 г. в 16:31, Mikhail <[email protected]>: > Hello, > > I need to execute a lot of SQL statements in one connection > using IgniteJdbcThinDriver. I get memory leak because of accumulation of > all statements in: > private final ArrayList<JdbcThinStatement> stmts = new ArrayList<>(); > (IgniteJdbcThinDriver:118). All statements are added to this list. As I see > it, this list is cleared only by onDisconnect() method, which is called > only on error. So In case of many statements, there will be memory leaks. > And possibly the same situation will occur in connection pools, because > they can reuse one connection many times. Is it the desired behavior for > this ignite jdbc driver? > > -- > Best Regards, > Mikhail
