Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-34361

Thumber and DefaultThumbnailManager are leaking native resources.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • None

    Description

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? 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:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: