DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41626>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41626 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO ------- Additional Comments From [EMAIL PROTECTED] 2007-09-24 20:21 ------- OK I finally got some time to look at this, but was unable to reproduce the problem. This is what I tested with: import java.awt.Dimension; import java.util.Timer; import java.util.TimerTask; import javax.swing.JFrame; import org.apache.batik.swing.JSVGCanvas; public class Test { public static void main(String[] args) { JFrame f = new JFrame("test"); f.setSize(300, 300); f.getContentPane().setLayout(null); final JSVGCanvas c = new JSVGCanvas(); f.getContentPane().add(c); c.setSize(100, 100); c.setURI("file:/home/cam/workspace/batik-app/test.svg"); f.setVisible(true); TimerTask tt = new TimerTask() { double factor = 1.5; public void run() { Dimension size = c.getSize(); size.width *= factor; size.height *= factor; c.setSize(size); factor = 1 / factor; } }; Timer t = new Timer(); t.schedule(tt, 5000, 1); } } It might be that I'm not using a particular feature in the SVG document that causes the memory leak. Do you have a self-contained program/document that does exhibit the leak? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
