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

Reply via email to