[teiid-issues] [JBoss JIRA] (TEIID-3487) preparedstatement leaks in odbc

Steven Hawkins (JIRA) issues at jboss.org
Wed May 20 18:25:19 EDT 2015


     [ https://issues.jboss.org/browse/TEIID-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-3487.
-----------------------------------
    Resolution: Done


The statement to enable positional group by was not being closed (1 per connection) and unnamed portals were not being closed either.  The latter being an important issue as continued use of the odbc connection could eventually result in an out of memory error.  We may want to consider gc based cleanup (with some modification to not hold hard references to statements in the connection).

> preparedstatement leaks in odbc
> -------------------------------
>
>                 Key: TEIID-3487
>                 URL: https://issues.jboss.org/browse/TEIID-3487
>             Project: Teiid
>          Issue Type: Bug
>          Components: ODBC
>    Affects Versions: 8.4
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.11
>
>
> There are several places where preparedstatements are being created and never closed by the odbc logic.  And since we don't have garbage collection based cleanup, this can lead to a build up on the statementimpl.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the teiid-issues mailing list