Details

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

      Description

      A regression has come via the forms related to some of the pattern tiling spaces changes. Because we no longer cache the tile and paint it on every call we have ended up with a strange sort of memory leak.

      The leak seems to be related to keeping an instance of the tile. If I inline the instance var the leak goes away. I can't think of a reasonable explanation other then that java2d might be setting up a reference which is keeping the old one from being garbage collected.

        Activity

        Patrick Corless created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40894 Fri Apr 25 14:42:18 MDT 2014 patrick.corless PDF-753 in lined TexturePaint patternPaint instance var into the paintPattern method to address memory lake related to the tiles buffer on subsequent repaints.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.0.7 [ 11470 ]
        Arran Mccullough made changes -
        Support Case References Support case #12808 - https://icesoft.my.salesforce.com/5007000000c2hEA
        Hide
        Patrick Corless added a comment -

        The pattern paint memory leak appears to be fixed and has passed QA.

        Show
        Patrick Corless added a comment - The pattern paint memory leak appears to be fixed and has passed QA.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.1 [ 10675 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Fix Version/s 5.0.7 [ 11470 ]
        Patrick Corless made changes -
        Fix Version/s 5.0.7 [ 11470 ]
        Fix Version/s 5.1 [ 10675 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: