ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Mashenkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-4578) SQL: Statement cache can cause memory leak
Date Fri, 20 Jan 2017 09:33:26 GMT
Andrew Mashenkov created IGNITE-4578:

             Summary: SQL: Statement cache can cause memory leak
                 Key: IGNITE-4578
                 URL: https://issues.apache.org/jira/browse/IGNITE-4578
             Project: Ignite
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.8
            Reporter: Andrew Mashenkov

We have prepared statement cache in IgniteH2Indexing declared as Map<Thread, StatementCache>.
This can cause memory leak if threads will die unexpetedly.

We should declare StatementCache as ThreadLocal field along with separate thread pool for
SQL queries, see IGNITE-4105.

This message was sent by Atlassian JIRA

View raw message