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

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

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: