ICEpdf
  1. ICEpdf
  2. PDF-799

ImagePool is only caching image at paint not during parse.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A part of the 5.0 work we integrated a bunch of code from a client. Part of this code was the ImagePool. An existing client had relatively small acad files that were popping the heap. On closer inspection a Jpeg image was being used 1200 times for painting some background stuff. On closer inspection the jpeg image was being parser and put into memory 1200 times instead of just once. On closer inspection the ImagePool was only being used at paint and not before an image was parsed.

      When an image is parse via an xobject the xobject can be used in multiple places in the content stream by name. So in this case the image was being used 1200 times in various places.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: