ICEpdf
  1. ICEpdf
  2. PDF-1215

Memory leak in multi page view

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.2
    • Fix Version/s: 6.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 10
    • Workaround Description:
      Hide
      Add this to the the dispose() method in TwoPageview.java

      if (currentPageChanger != null) {
      currentPageChanger.dispose();
      }
      Show
      Add this to the the dispose() method in TwoPageview.java if (currentPageChanger != null) { currentPageChanger.dispose(); }

      Description

      In the multi page view (two pages next to each other) there is a memory leak. If the user changes to this view mode and the image pool is not activated (-Dorg.icepdf.core.views.imagePoolEnabled=false) it doesn't take long till the memory is gone. That's because in the class TwoPageView the currentPageChanger is not disposed.

        Activity

        Hide
        Patrick Corless added a comment -

        Thanks Richard, much appreciated.

        Show
        Patrick Corless added a comment - Thanks Richard, much appreciated.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Change was submitted in rev. 52082

        Show
        Patrick Corless added a comment - Marking as fixed. Change was submitted in rev. 52082

          People

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

            Dates

            • Created:
              Updated:
              Resolved: