I am developing a tool that displays a SVG image(SVGCanvas), after doing 3-5 enlargements I get an Out of Memory exception, a check with

freeMemory()/totalMemory() indicates that there is still a sizable amount memory available.

 

I am aware that Batik works on an alternative stack is there any way of catching the OutOfMemory exception?

 

Is there a better solution to scrolling a SVG image than to use a SVGCanvas in a scrollable Panel, I did think about using a JViewport and getting batik to perform the scrolling, but that seems to be using a sledge hammer to crack a walnut?

 

Regards

 

David.

 



***********************************************************************************
This email, its content and any attachments is PRIVATE AND
CONFIDENTIAL to TANDBERG Television. If received in error please
notify the sender and destroy the original message and attachments.

www.tandbergtv.com
***********************************************************************************

Reply via email to