Hi, once again a problem using batik: I have a JSVGCanvas and often load another SVG with canvas.setURI(svgFile.toURL().toString()); into it. The consequence is a more or less heavy memory-leak, whatever Batik-Version I use. The following observations can I report: 1) using batik-1.6 with SVGs only containing one referenced PNG, everthing seems ok. 2) using batik-1.6 with pure SVGs the memory-leak first starts up quiet fast (in MB-Steps) to an undefinded threshold than the memory increases very slow 3) using batik-Trunk with pure SVGs the memory increases quiet fast although the Heap-Size is set to 128MB.
Using quite big SVGs (up to 1.2MB) this can be monitored easy. Using the test-sources shipped with batik, this behaviour can also be observed but the memory consumation is quite low. It seems that the memory level settles down after a longer time (half an hour), however batik than uses more than 100MB or more of memory. Perhaps you can have a look at this behaviour. Thanks Florian Attached is a small sample application I used to test the JSVGCanvas. <<JSVGCanvasTester.java>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Florian Pepping Wincor Nixdorf International GmbH Banking Division Product Development (PSD5) Phone: +49 5251 693 6471 Heinz-Nixdorf-Ring 1 Fax: +49 5251 693 6309 D-33106 Paderborn [EMAIL PROTECTED] http://www.wincor-nixdorf.com <http://www.wincor-nixdorf.com/>
JSVGCanvasTester.java
Description: JSVGCanvasTester.java
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]