Hi,

We are using BATIK for rendering SVG in java applets. Our SVGs are of 
pretty big size (in MB's). This SVG gets animated as well. We need to 
unload and load different SVGs.
The problem is that the memory consumption is too high. We used profilers 
as well. We removed all the leaks in our code. The problem is that the 
allocations are a lot (of Float and Integer etc) and if we explicitly call 
System.gc() after some interval, then we get a very high CPU. System.gc() 
does not solve the problem completely too.
We are not using double buffering.

What are the possible techniques to solve this? Can any flags help? Can I 
optimize the BATIK memory usage through its code?
Also is BATIK not feasible for big SVGs?



Regards,

Khurram.

Reply via email to