Uploaded image for project: 'GeoTools'
  1. GEOT-6207

ImageUtilities image disposal methods may not access inner fields of (Writable)RenderedImageAdapter.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 19.3, 20.2
    • Components: coverage
    • Labels:
      None

      Description

      We noticed a tomcat instance logging ton of:
      "Failed to clear rendered image adapters field to null. Not a problem per se, but if the finalizer thread is not fast enough, this might result in a OOM"

      The problem was due to the Image disposal code trying to set to null an inner private field not being accessible through reflection.

        Attachments

          Activity

            People

            • Assignee:
              dany111 Daniele Romagnoli
              Reporter:
              dany111 Daniele Romagnoli
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: