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

AnimationEngine.setCurrentTime can leak heap memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.7
    • None
    • SVG DOM
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: