Thumber and DefaultThumbnailManager are leaking native resources.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • Component/s: None

      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

            Assignee:
            Roman Tekhov (Inactive)
            Reporter:
            Eric Dalgliesh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: