ICEpdf
  1. ICEpdf
  2. PDF-271

PageViewComponent will not create page buffer in low memory environments

    Details

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

      Description

      When doing some profiling early on in the 4.2 release cycle I noticed a quite error where we would check the memory manager before trying to create the page buffer for the viewer. If the memory manager said we didn't have enough memory we wouldn't pain the buffer. I removed this code as the guess a available memory is 100% accurate and rendering a page is probably more important then not.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24127 Thu Mar 10 18:33:31 MST 2011 patrick.corless PDF-271 removed available memory check when creating page buffer. Painting the image should be our primary goal and the use of a SoftReference for page buffers will likely free up more memory when needed.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/views/swing/PageViewComponentImpl.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: