To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=77430





------- Additional comments from [EMAIL PROTECTED] Wed May 23 09:31:27 +0000 
2007 -------
The connection between a Java Uno based client and the office keeps being
established as long as objects are mapped from one side to the other (e.g. Java
holds a reference to an Uno object of the office process). The Java GC
(respectively the "finalize" method) is utilized to effectively clean up unused
objects. As the Java GC (which actually calls the "finalize" method) does only
run under some memory pressure and typically not during idle times, any unused
objects do not become freed and the connection keeps being established.

You may want to try calling the GC in a loop, until nothing becomes released any
more ...

Unfortunately there is no real solution to this problem, as Java does not
support any synchronous destruction (though it actually could do so), while
asking programmers to explicitly take care does not seem to be reasonable ...

By the way,  you can ask the BridgeFactory for the established remote bridges,
which you can dispose explicitly by using the XComponent interface. This leads
to the termination of all associated threads.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to