[ 
https://issues.apache.org/jira/browse/IGNITE-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150497#comment-15150497
 ] 

Igor Sapego commented on IGNITE-2673:
-------------------------------------

Resolved by IGNITE-2643. Should {{Error}} be thrown in {{OdbcRequestHandler}}, 
connection is going to be closed and associated handler is going to be released.

> ODBC: Potential memory leak when Throwable is thrown inside OdbcRequestHandler
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-2673
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2673
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: odbc
>    Affects Versions: 1.5.0.final
>            Reporter: Vladimir Ozerov
>            Assignee: Igor Sapego
>            Priority: Critical
>             Fix For: 1.6
>
>
> Some methods in OdbcRequestHandler follow the same pattern:
> {code}
> try {
>     ...
> }
> catch (Exception e) {
>     qryCurs.remove(req.queryId());
> }
> {code}
> Should Error be thrown there, qryCurs will never be cleared.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to