[Solved+Issue] xcomponent - dispose or close
Posted: Sat Dec 29, 2012 11:53 pm
Hi,
when I open a doc with xComponentLoader.loadComponentFromURL(filename, "_blank", 0, null) in Java, what is the right way to close it really??
I tried it with document.dispose() and I tried it with
but after the script is finished the memory of openoffice soffice it higher than before. When I execute the script several times, the mem increase more and more.
Can anybody give me some help?
thank you
Stephan
when I open a doc with xComponentLoader.loadComponentFromURL(filename, "_blank", 0, null) in Java, what is the right way to close it really??
I tried it with document.dispose() and I tried it with
Code: Select all
XCloseable xClose = (XCloseable)UnoRuntime.queryInterface(XCloseable.class, document);
xClose.close(true);Can anybody give me some help?
thank you
Stephan
Code: Select all
mysystem: debian6, openoffice3.2., sunjava6
startoo with:/usr/bin/soffice -invisible -nologo -nofirststartwizard -norestore -accept="socket,host=127.0.0.1,port=8100;urp"