Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-973

Large amount of memory use for caching ClientPreparedStatement

    XMLWordPrintable

Details

    Description

      Since we have updated the connector from 2.7.4 to 3.0.4, we are experimenting some memory leaks, and after some analysis we have found that the cache variable in ClientParser is the main suspect.

      There is now a cache for ClientPreparedStatement, inside ClientParser, that variable is a LinkedHashMap and seems to be never cleanse. And there is no known way to interact with this cache. That resolve to store all the prepared statements since the server is started.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            jbsocleo Jean Biancat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.