Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-34361

Thumber and DefaultThumbnailManager are leaking native resources.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 6.1.3, 6.2-OD-3
    • None
    • None

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      I'm not sure how much of a memory leak this is causing, but it may be a contributor to memory increases in OnDemand during it's weekly run-cycle.

      Summary of fix:

      If we're using an ImageWriter it should have dispose() called on it when finished with.

      Also using ImageInputStream in DefaultThumbnailManager we need to close them:
      https://stash.atlassian.com/projects/JIRA/repos/jira/browse/jira-components/jira-core/src/main/java/com/atlassian/jira/issue/thumbnail/DefaultThumbnailManager.java#402

      Attachments

        Issue Links

          Activity

            People

              rtekhov Roman Tekhov (Inactive)
              edalgliesh Eric Dalgliesh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: