ICEpdf
  1. ICEpdf
  2. PDF-771

Thumbnail preview image buffers are flickering.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.6_P01
    • Fix Version/s: 5.1.2
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      any

      Description

      A customer has reported that the thumbnails page view can flicker and has attached a sample document. I've seen this issue from time to time and think is related to to the fact we don't lock the Reference object when the page is visible. As a result the JVM is free to garbage collect the image.

      We should look at which type of Reference we are using (soft or weak) and consider locking the thumbnail if the image is visible.

      The effect is easier to see when the main page view is zoomed in making for a very large back buffer which will cause the low memory circumstances.

      Sample files
      \\iceads1\support\PDF\SupportCaseFiles\Case12861

        Activity

        Hide
        Patrick Corless added a comment -

        The PDF in question uses an lot of memory to display all pages. The image optimization in 5.1 help with the flickering but they are still there if the heap size is minimal. Will take another look at this in the next release.

        Show
        Patrick Corless added a comment - The PDF in question uses an lot of memory to display all pages. The image optimization in 5.1 help with the flickering but they are still there if the heap size is minimal. Will take another look at this in the next release.
        Hide
        Patrick Corless added a comment -

        Marking as fixed, quite a lot of work has been done around refactoring how weak and soft references are used in our image buffers.

        Show
        Patrick Corless added a comment - Marking as fixed, quite a lot of work has been done around refactoring how weak and soft references are used in our image buffers.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: