Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-763

AnimationEngine.setCurrentTime can leak heap memory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: SVG DOM
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      When trying to render an SVG animation frame by frame into a graphics object for
      further processing using Batik 1.7beta1, repeated calls to
      AnimationEngine.setCurrentTime eventually lead to a java.lang.OutOfMemoryError.

      With 64 MB heap memory, the test application Test.java fails around 2150
      invocations of AnimationEngine.setCurrentTime() with the sample animated SVG
      document test.svg.

        Attachments

        1. test.svg
          213 kB
          Michael Hartle
        2. Test.java
          2 kB
          Michael Hartle

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              mhartle@tk.informatik.tu-darmstadt.de Michael Hartle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: