Hi,
if have a very simple Batik App.
---------------------------------------------------------------------
import org.apache.batik.swing.JSVGCanvas;
public class TestRenderer {
public void startTestRender() {
for (int i = 0; i < 1000; i++) {
JSVGCanvas canvas1 = new JSVGCanvas();
canvas1.setURI("your URL here");
try { Thread.sleep(400); } catch (Exception ex) {}
JSVGCanvas canvas2 = new JSVGCanvas();
canvas2.setURI("other file here");
System.out.println("" +i);
try { Thread.sleep(200); } catch (Exception ex) {}
}
}
public static void main(String[] args) {
TestRenderer testrender = new TestRenderer();
testrender.startTestRender();
}
}
------------------------------------------------------------------
Starting this app with -Xms10m -Xmx64m runs into OutofMemory
Exception. When i remove the lines
JSVGCanvas canvas2 = new JSVGCanvas();
canvas2.setURI("other file here");
it works. Any suggestions for this behaviour ?
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/