Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-3090

Memory leak in IgniteH2Indexing prepared statements cache

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0.final
    • Fix Version/s: 1.6
    • Component/s: None

      Description

      IgniteH2Indexing caches prepared statements in stmtCache that uses Threads as keys. Under they high load when there are many Threads the cache can grow significantly. Plus if a Thread is terminated its prepared statements are not get cleaned introducing a memory leak.

      A special background Thread should be introduced that will iterate over stmCache performing the following:

      • cleaning records for terminated Threads;
      • cleaning records of the Threads that were not used for a long time. A special configuration parameter can be set.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dmagda Denis A. Magda
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: