To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=41675 Issue #:|41675 Summary:|memory leak while converting Component:|api Version:|OOo 2.0 Platform:|All URL:| OS/Version:|All Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|sw Reported by:|frontline
------- Additional comments from [EMAIL PROTECTED] Mon Jan 31 00:11:08 -0800 2005 ------- I have a java program which uses openoffice to convert files between different formats. When I run it OO takes more and more memory for each conversion and doesn't free it. I have started openoffice with (on linux): /opt/openoffice.org1.9.74/program/soffice -invisible "-accept=socket,port=8100;urp;" The java program is as follows: import net.sf.joott.uno.*; import java.io.*; public class Test { public static void main(String[] a) throws Exception { UnoConnection conn = DocumentConverterFactory.getConnection(); DocumentConverter conv = new DocumentConverter(conn); File source = new File("test.ppt"); File dest = new File("test.pdf"); for (int i=0; i<1000; i++) { conv.convert(source, dest, DocumentFormat.PDF_IMPRESS); } } } The leak happens with conversions between other formats as well. --------------------------------------------------------------------- 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]