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

Squiggle runs out of memory

    XMLWordPrintableJSON

    Details

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

      Description

      I try to load an SVG file of 5 MB. I can view the file with other SVG viewers.
      I could send you the file if you need.

      Thanks

      Buildfile: C:\Bissse\Development\workspace\batik-1.7pre\build.xml
      init:
      [echo] == Apache Batik 1.7pre build file ================================
      [echo] JAVA_HOME: C:\Program Files\Java\jdk1.5.0_14
      [echo] VM: 1.6.0_03-b05, Sun Microsystems Inc.
      compile-prepare:
      [echo] debug off, optimize on, deprecation on
      compile:
      squiggle:
      squiggle-others:
      Warning: Reference libs-classpath has not been set at runtime, but was found
      during
      build file parsing, attempting to resolve. Future versions of Ant may support
      referencing ids defined in non-executed targets.
      [java] java.lang.OutOfMemoryError: Java heap space
      [java] at java.util.Arrays.copyOf(Unknown Source)
      [java] at java.awt.geom.Path2D$Float.needRoom(Unknown Source)
      [java] at java.awt.geom.Path2D$Float.lineTo(Unknown Source)
      [java] at java.awt.BasicStroke$FillAdapter.appendLine(Unknown Source)
      [java] at sun.dc.pr.PathStroker.endPath(Native Method)
      [java] at java.awt.BasicStroke.feedConsumer(Unknown Source)
      [java] at java.awt.BasicStroke.createStrokedShape(Unknown Source)
      [java] at org.apache.batik.gvt.StrokeShapePainter.getPaintedArea
      (Unknown Source)
      [java] at org.apache.batik.gvt.StrokeShapePainter.getPaintedBounds2D
      (Unknown Source)
      [java] at
      org.apache.batik.gvt.CompositeShapePainter.getPaintedBounds2D(Unknown Source)
      [java] at org.apache.batik.gvt.ShapeNode.getPrimitiveBounds(Unknown
      Source)
      [java] at
      org.apache.batik.gvt.AbstractGraphicsNode.getTransformedPrimitiveBounds
      (Unknown Source)
      [java] at
      org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(Unknown Source)
      [java] at
      org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(Unknown Source)
      [java] at
      org.apache.batik.gvt.CompositeGraphicsNode.getTransformedPrimitiveBounds
      (Unknown Source)
      [java] at
      org.apache.batik.gvt.AbstractGraphicsNode.getTransformedBounds(Unknown Source)
      [java] at
      org.apache.batik.gvt.CompositeGraphicsNode.getPrimitiveBounds(Unknown Source)
      [java] at
      org.apache.batik.gvt.filter.GraphicsNodeRable8Bit.getBounds2D(Unknown Source)
      [java] at
      org.apache.batik.gvt.filter.GraphicsNodeRable8Bit.createRendering(Unknown
      Source)
      [java] at org.apache.batik.gvt.renderer.StaticRenderer.renderGNR
      (Unknown Source)
      [java] at
      org.apache.batik.gvt.renderer.StaticRenderer.updateWorkingBuffers(Unknown
      Source)
      [java] at org.apache.batik.gvt.renderer.StaticRenderer.repaint
      (Unknown Source)
      [java] at org.apache.batik.gvt.renderer.StaticRenderer.repaint
      (Unknown Source)
      [java] at org.apache.batik.swing.gvt.GVTTreeRenderer.run(Unknown
      Source)
      [java] java.lang.OutOfMemoryError: Java heap space
      [java] java.lang.OutOfMemoryError: Java heap space

        Attachments

        1. K.zip
          954 kB
          ebisse@hotmail.com

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              ebisse@hotmail.com ebisse@hotmail.com
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: