Hi, >Does Batik intern() all DOM Strings? > >If not, I have a hunch that this could save a lot of memory.
This was helpful... Consider this: My goal was to create something like text element template - to be able to show lots of text elements, most of them having same text value, but decreasing memory occupation. I dynamically converted text to path (using getoutline() method for getting path data, and PathIterator and StringBuilder for generating path's "d" attribute). Also appending path to a group allowes additional manipulation. After interning those large path's "d" Strings, memory occupation significantly decreased. Thanks, A. Ivan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Memory-optimization-question-tf2669694.html#a7500791 Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
