> I have an svg file that is 240k and was exported from open office. When > this file is added to a simple tabbed pane it takes up about 25M of ram. Well, it doesn't seems bad at all! :-) Have you tried other SVG implementations? Also, are you using latest release for both Batik and Open office?
> I also noticed that after adding it twice to the tabbed pane that the memory > doubled. Do you mean "adding it twice" as in "adding the document in two distinct panes"? If so, then I believe this is expected... To avoid the duplication, you had to create a single Batik engine and share it in both panes. Although probably this is possible, I'm not familiar about how to accomplish this... > Is there anything I can do to decrease the memory usage (caching or > anything). Just trying to understand why batik is taking up this amount of > memory. Memory usage will depend on SVG contents. Advanced features like gradients, animation, scripting, etc. can (potentially) become memory-hungry. Can you attach the file or post it somewhere so one can take a look and suggest something? Also, I'd suggest posting the original document also - this way, one can try to figure if this is a conversion tool issue (unoptimized SVG being generated, maybe). Finally, please add version information for both OpenOffice and Batik so one can understand the context. ;-) Hope this helps, Helder Magalhães --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
