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

Images with very large dimensions cause thumbnail generation to OOME the instance

    XMLWordPrintable

Details

    Description

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

      cntech.atlassian.net had a couple of thumbnail-related OOMEs. This is caused by a smallish png ~3.8MB but with a 26000x24000 dimension. You can easily reproduce the problem by just generating an image with a white background of that dimension.

      convert -size 26000x24000 xc:white oom.png
      

      Similar to JRA-40084, I think we should reject images above a configurable dimension, causing the image to be marked as thumbnailable=0

      Possible Solutions:

      • Thumber should reject images above a configurable dimension.

      Attachments

        Issue Links

          Activity

            People

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              fakraemer fabs
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: