Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: current, 1.2-M0, 1.1.0, 1.0.8
    • Fix Version/s: None
    • Component/s: tiff
    • Labels:
      None

      Description

      Tiff reader is relatively inefficient since it heavily relies on metadata for doing its work and metadata for bigtiff can be enormous due to the fact that it stores two arrays of long where each element holds the tile offset in the file as well as the tile bytes count.

      It would be great to try and:

      1 cache these values between multiple successive reads
      2 load them as we need them since they are rather big

        Activity

        Hide
        simboss1 added a comment -

        Done some initial work on trunk. I basically retain Image metadata in the TiffImageReaedr for each tiff page as a softreference to make things faster but still being able to release memory under big stress.

        More work should follow as time is available. Anyway, testing needed!

        Show
        simboss1 added a comment - Done some initial work on trunk. I basically retain Image metadata in the TiffImageReaedr for each tiff page as a softreference to make things faster but still being able to release memory under big stress. More work should follow as time is available. Anyway, testing needed!
        Show
        dany111 added a comment - https://github.com/geosolutions-it/imageio-ext/issues/8

          People

          • Assignee:
            dany111
            Reporter:
            simboss1
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: