Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-407

OutOfMemoryError when reading Sentinel 1 image with GeoTIFF reader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 1.0
    • Storage
    • None

    Description

      When opening a Sentinel 1 GeoTIFF image, the call to DataStore.getMetadata() cause the JVM to attempt to allocate about one gigabyte of memory. This is not caused by the image size, but rather by a mathematical error. In the LocalizationGridBuilder class, private method infer computes the greatest common divisor of X and Y translations from the grid origin. Sentinel 1 image have control points spaced by 1320 pixels on the X axis, except the very last point which is only 1302 pixels after the previous one. This cause LocalizationGridBuilder to find a much smaller common divisor than expected (6 instead of 1320), which cause it to attempt to create a localization grid much larger than it should be.

      Attachments

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: