I have a doubt in the garbage collection in JSVGCanvas.
My doubt is if I reuse a JSVGCanvas for rendering a different svg
file, whether the memory used for the previous svg will be
released?.
What I meant is:
If I have a first case like,
svgCanvas.setURI(new java.io.File("test1.svg").toURL().toString()); ..and in a later time I use the same JSVGCanvas objectsvgCanvas.setURI(new java.io.File("test2.svg").toURL().toString());Whether the memory allocated for the previous canvas will be released?.What I found was that, after setting the URI to a new one, the memory used by the particular process is increasing(even if the svg file content is same the difference is only in file name).
Please suggest me a solution.
Thanks and Regards,
Shamjith
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
