> We are displaying an image in our Java applet using SVG and the Batik API.
> For images with larger SVG Documents we are running out of memory. For
> smaller images, we see a definate memory leak. We are displaying our SVG
> Document in a new frame. We place some action listeners on the JSVGCanvas
> to show status of the document load. Using OptimizeIT 4.0 I am
> able to see
> the memory offenders are int[] with 5108 instances and 35643K of
> memory, and
> org.apache.batik.css.CSSOMReadOnlyStyleDeclaration$AuthorValueEntry with
> 74140 instances and 2606K of memory.
>
> Any tips on helping me resolve this issue? If requested I can forward our
> Java Code that Creates a JSVGCanvas and sets the SVGDocument.
Can you try with the current cvs code base and tell us if there is some
progress.
Thierry.
|