With 1.1.0 - 1.1.3 under Windows we have noticed a memory leak that occurs during repeated load/print and load/export to PDF. We got around it by shutting down OOo every 250 uses through the API and then starting it again. If we don't shut it down we can watch memory slowly increase until it crashes. Don't know if this is the same problem, but it occurs with repeated load/print and load/export functions through the Java API.
-----Original Message----- From: Martin Thoma [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 6:23 AM To: [email protected] Subject: RE: [api-dev] How stable is the Java API ? Hi Sven, if you can break it down to some simple code that crashes OO I suggest to add it to the issue Andreas has opened: http://qa.openoffice.org/issues/show_bug.cgi?id=50955 Perhaps a simple load/print/store-procedure called in a loop will do it. Martin > -----Original Message----- > From: Sven Zenker [mailto:[EMAIL PROTECTED] > Sent: Monday, June 20, 2005 1:16 PM > To: [email protected] > Subject: Re: [api-dev] How stable is the Java API ? > > Hello everybody, > > we have stability problems, too, although not related to a large > number of API calls but rather to frequent load/print/store operations > via the Java API on a headless OOo running with xvfb. OOo crashes > approx. every 10-50 load/print/store cycles, with a large variation, > and in a non-reproducible fashion. Happens with every version I've tested so > far. > Might, of course, be a configuration/coding problem, although our > setup is relatively standard. > > Regards > > Sven > > Andreas Bröker wrote: > > >Hello Martin, > > > >yes - with OpenOffice.org 1.1.4 we have the same problems. > > > >Best Regards > > > >Andreas > > > > > > > >>-----Original Message----- > >>From: Martin Thoma [mailto:[EMAIL PROTECTED] > >>Sent: Friday, June 17, 2005 3:28 PM > >>To: [email protected] > >>Subject: RE: [api-dev] How stable is the Java API ? > >> > >> > >>Did you experience this in a Version 1.1.x as well? > >> > >>I got similar problems with the C++ API using 1.1.3/1.1.4: > >>After executing a > >>lot of API calls OO crashes (tries to send an error-report). > >>The code-line > >>where the crashe is happening is always different. I could improve > >>the behaviour a little bit by avoiding some code, but it's not gone > >>completely. > >> > >>For example: Since I don't use setString on a XTextRange I got from > >>a XSearchable::findFirst, the crashes seem to appear much less - but > >>I couldn't swear that this is the cause, because the code works > >>100+ times and > >>then it crashes. That's why I'm still testing. > >> > >>Regards > >> > >>Martin > >> > >> > >> > >> > >>>-----Original Message----- > >>>From: Andreas Bröker [mailto:[EMAIL PROTECTED] > >>>Sent: Friday, June 17, 2005 3:04 PM > >>>To: '[email protected]' > >>>Subject: [api-dev] How stable is the Java API ? > >>> > >>>Hello, > >>> > >>>we uses the Java API in order to modify text documents. We > >>> > >>> > >>execute a lot > >> > >> > >>>of calls with the API. After 1000 (sometimes more - > >>> > >>> > >>sometimes less) calls > >> > >> > >>>OpenOffice.org (1.9.104) will crash. How stable is the Java > >>> > >>> > >>API ? Is it > >> > >> > >>>not a good idea in order to execute such a high number of calls. > >>> > >>>Thanks for any comments in advance. > >>> > >>>Best Regards > >>> > >>>Andreas > >>> > >>> > >>> > >>> > >>-------------------------------------------------------------------- > >>- > >> > >> > >>>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] > >> > >> > >> > > > >--------------------------------------------------------------------- > >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] --------------------------------------------------------------------- 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]
