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

Transcoding an svg into JPEG leads to out of memory exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.8
    • None
    • SVG Rasterizer
    • None
    • Operating System: All
      Platform: PC

    Description

      Transcoding an svg file into JPEG causes a pike in memory usage and leads to out of memory exceptions. Transcoding a small size image (1500 * 1500 pixels) leads to a spike of 100 MB in the heap usage. This can sometimes cause memory exception.

      I have attached a code snippet to reproduce this.

      Attachments

        1. untitled.svg
          704 kB
          pramod.kumar
        2. Test.java
          3 kB
          pramod.kumar

        Activity

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            pramod.kumar@mathworks.com pramod.kumar
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: