This issue has been addressed in Batik 1.5. You can use Batik 1.5beta4 or the currennt CVS base and you should get, overall, a better experience.
Vincent.
Huang Haitao-G17843 wrote:
Hi,
I'm using Batik PNG tanscoder in an server app to generate PNG files from SVG. While using some profiling tool trying to track down some memory problem, I found following statics used in SVGFontUtilities. Does anyone have ideas where/how this class is used in Batik and whethere there would be problems for multithreaded apps? I'm using version 1.1.1.
Thanks Haitao Huang ------------------------------
/** * A hash map of all the font families already matched. This is * to reduce the number of instances of GVTFontFamilies and to * hopefully reduce the time taken to search for a matching SVG font. */ private static HashMap fontFamilyMap;
/** * Keeps track of the currentDocument. This is used to detect when a new * document has been loaded. */ private static Document currentDocument = null;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
