RE: [api-dev] How stable is the Java API ?

2005-06-21 Thread Martin Thoma
Andreas Bröker wrote: Hello, have anybody an idea for a workaround. Sorry, but why do you need a workaround for an artificial problem that doesn't exist in real life code? I doubt that you ever will have the loop you posted as a part of a real program. Of course this artificial problem

Re: [api-dev] How stable is the Java API ?

2005-06-21 Thread Stephan Bergmann
Mathias Bauer wrote: Martin Thoma wrote: 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.

Re: [api-dev] How stable is the Java API ?

2005-06-21 Thread Jürgen Schmidt
Hi, please forget my earlier posting, it was to early in the morning and i have run a wrong test. But after discussion with Stephan who has investigated in this problem yesterday, it is clear that it is an implementation problem and no general UNO or API problem (see comments in the issue).

RE: [api-dev] How stable is the Java API ?

2005-06-21 Thread Andreas Bröker
-dev] How stable is the Java API ? Andreas Bröker wrote: Hello, have anybody an idea for a workaround. Sorry, but why do you need a workaround for an artificial problem that doesn't exist in real life code? I doubt that you ever will have the loop you posted as a part of a real

Re: [api-dev] How stable is the Java API ?

2005-06-21 Thread Stephan Bergmann
: Re: [api-dev] How stable is the Java API ? Andreas Bröker wrote: Hello, have anybody an idea for a workaround. Sorry, but why do you need a workaround for an artificial problem that doesn't exist in real life code? I doubt that you ever will have the loop you posted as a part of a real

Re: [api-dev] How stable is the Java API ?

2005-06-21 Thread Sven Zenker
Mathias Bauer wrote: Herter, S. wrote: 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

Re: [api-dev] How stable is the Java API ?

2005-06-21 Thread Mathias Bauer
Martin Thoma wrote: Andreas Bröker wrote: Hello, have anybody an idea for a workaround. Sorry, but why do you need a workaround for an artificial problem that doesn't exist in real life code? I doubt that you ever will have the loop you posted as a part of a real program. Of course

RE: [api-dev] How stable is the Java API ?

2005-06-21 Thread Martin Thoma
That wasn't clear from your example. I doubt that there is any real life use case where you would retrieve *the same* interface of *the same* object several times in a loop. Sorry, from the posts earlier in this thread I thought that was clear. But without knowing where this bug hits you

RE: [api-dev] How stable is the Java API ?

2005-06-20 Thread KINDLER Jurgen
Where can I find the UNO-objects that need explicit disposal? To my understanding anything that implements com.sun.star.uno.XInterface for example. Even though the implementation is said to be depending on the language binding, the concept differs significently from the normal Java model.

RE: [api-dev] How stable is the Java API ?

2005-06-20 Thread Martin Thoma
Where can I find the UNO-objects that need explicit disposal? To my understanding anything that implements com.sun.star.uno.XInterface for example. For me using C++: I thought that ReferenceXInterface would take care of all memory-things and release objects that aren't used anymore?! I

RE: [api-dev] How stable is the Java API ?

2005-06-20 Thread Andreas Bröker
Hello Stephan, I have filed an issue : 50955. Regards Andreas -Original Message- From: Andreas Bröker [mailto:[EMAIL PROTECTED] Sent: Friday, June 17, 2005 5:22 PM To: 'dev@api.openoffice.org' Subject: RE: [api-dev] How stable is the Java API ? Hello Stephan, my login does

Re: [api-dev] How stable is the Java API ?

2005-06-20 Thread Mathias Bauer
Andreas Bröker wrote: Hello Martin, we have made a simple test programm that uses the XCellRange interface of an XTextTable in order to return a cell range in a loop. That is enough in order to crash OpenOffice.org. While this is something that should be investigated I doubt that you can

RE: [api-dev] How stable is the Java API ?

2005-06-20 Thread Andreas Bröker
Hello Mathias, the issue is 50955. Best regards Andreas -Original Message- From: Mathias Bauer [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 9:22 AM To: dev@api.openoffice.org Subject: Re: [api-dev] How stable is the Java API ? Andreas Bröker wrote: Hello Martin

RE: [api-dev] How stable is the Java API ?

2005-06-20 Thread Andreas Bröker
Hello, have anybody an idea for a workaround. Best regards Andreas -Original Message- From: Andreas Bröker [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 9:38 AM To: 'dev@api.openoffice.org' Subject: RE: [api-dev] How stable is the Java API ? Hello Mathias

RE: [api-dev] How stable is the Java API ?

2005-06-20 Thread Martin Thoma
@api.openoffice.org' Subject: RE: [api-dev] How stable is the Java API ? Hello, have anybody an idea for a workaround. Best regards Andreas -Original Message- From: Andreas Bröker [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 9:38 AM To: 'dev@api.openoffice.org' Subject

Re: [api-dev] How stable is the Java API ?

2005-06-20 Thread Sven Zenker
Regards Andreas -Original Message- From: Martin Thoma [mailto:[EMAIL PROTECTED] Sent: Friday, June 17, 2005 3:28 PM To: dev@api.openoffice.org 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

RE: [api-dev] How stable is the Java API ?

2005-06-20 Thread Herter, S.
. -Original Message- From: Henri Sivonen [mailto:[EMAIL PROTECTED] Sent: Monday, June 20, 2005 12:36 PM To: dev@api.openoffice.org Subject: Re: [api-dev] How stable is the Java API ? On Jun 17, 2005, at 16:57, Stephan Bergmann wrote: Do you call OOo from multiple threads? It is a known issue

Re: [api-dev] How stable is the Java API ?

2005-06-20 Thread Mathias Bauer
Andreas Bröker wrote: Hello, have anybody an idea for a workaround. Sorry, but why do you need a workaround for an artificial problem that doesn't exist in real life code? I doubt that you ever will have the loop you posted as a part of a real program. Best regards, Mathias -- Mathias

Re: [api-dev] How stable is the Java API ?

2005-06-20 Thread Mathias Bauer
Martin Thoma wrote: 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. No, please keep

Re: [api-dev] How stable is the Java API ?

2005-06-20 Thread Mathias Bauer
Herter, S. wrote: 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

RE: [api-dev] How stable is the Java API ?

2005-06-18 Thread Martin Thoma
with just 1 Text-Table). Has somebody raised an issue or should I do it? Martin -Ursprngliche Nachricht- Von: Andreas Brker [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 17. Juni 2005 16:55 An: 'dev@api.openoffice.org' Betreff: RE: [api-dev] How stable is the Java API ? Hello

RE: [api-dev] How stable is the Java API ?

2005-06-17 Thread Martin Thoma
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

RE: [api-dev] How stable is the Java API ?

2005-06-17 Thread =?iso-8859-1?Q?Andreas_Br=F6ker?=
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: dev@api.openoffice.org Subject: RE: [api-dev] How stable is the Java API ? Did

RE: [api-dev] How stable is the Java API ?

2005-06-17 Thread Martin Thoma
of times we could raise an issue. Regards Martin -Original Message- From: Andreas Brker [mailto:[EMAIL PROTECTED] Sent: Friday, June 17, 2005 3:34 PM To: 'dev@api.openoffice.org' Subject: RE: [api-dev] How stable is the Java API ? Hello Martin, yes - with OpenOffice.org 1.1.4 we have

Re: [api-dev] How stable is the Java API ?

2005-06-17 Thread Cristian Fonti
? Best regards Andreas -Original Message- From: Andreas Brker [mailto:[EMAIL PROTECTED]] Sent: Friday, June 17, 2005 3:34 PM To: 'dev@api.openoffice.org' Subject: RE: [api-dev] How stable is the Java API ? Hello Martin, yes - with OpenOffice.org 1.1.4 we have the same problems

RE: [api-dev] How stable is the Java API ?

2005-06-17 Thread =?iso-8859-1?Q?Andreas_Br=F6ker?=
PROTECTED] Sent: Friday, June 17, 2005 3:57 PM To: dev@api.openoffice.org Subject: Re: [api-dev] How stable is the Java API ? Andreas Brker wrote: Hello, if we call the Garbage Collection after every API call OpenOffice.org stays longer alive. Is it possible that the API produces too

RE: [api-dev] How stable is the Java API ?

2005-06-17 Thread KINDLER Jurgen
Since Andreas pointed out that OOo lives LONGER, when calling System.gc() after each call, I would rather suspect that the frequent cleanup prevents zombie objects to walk around in memory with deadly foam dropping out of their mouth ... ;-) (Garbage rulez!) Maybe the explicit disposal of

RE: [api-dev] How stable is the Java API ?

2005-06-17 Thread =?iso-8859-1?Q?Andreas_Br=F6ker?=
Hello Cristian, use System.gc(). Regards Andreas -Original Message-From: Cristian Fonti [mailto:[EMAIL PROTECTED]Sent: Friday, June 17, 2005 4:01 PMTo: dev@api.openoffice.orgSubject: Re: [api-dev] How stable is the Java API ?Sorry for the idiot question, but how can

RE: [api-dev] How stable is the Java API ?

2005-06-17 Thread Martin Thoma
@Andreas: we have made a simple test programm that uses the XCellRange interface of an XTextTable in order to return a cell range in a loop. That is enough in order to crash OpenOffice.org. Could you send me the code? I'll try it in C++. @Jrgen Maybe the explicit disposal of objects as

Re: [api-dev] How stable is the Java API ?

2005-06-17 Thread Stephan Bergmann
there (and let me know the issue ID). We can have a look then. -Stephan Best regards Andreas -Original Message- From: Martin Thoma [mailto:[EMAIL PROTECTED] Sent: Friday, June 17, 2005 3:58 PM To: dev@api.openoffice.org Subject: RE: [api-dev] How stable is the Java API ? Hi

RE: [api-dev] How stable is the Java API ?

2005-06-17 Thread =?iso-8859-1?Q?Andreas_Br=F6ker?=
= xCellRange.getCellRangeByPosition(1,1,2,2); } Regards Andreas -Original Message- From: Stephan Bergmann [mailto:[EMAIL PROTECTED] Sent: Friday, June 17, 2005 4:51 PM To: dev@api.openoffice.org Subject: Re: [api-dev] How stable is the Java API ? Andreas Brker wrote: Hello Martin

RE: [api-dev] How stable is the Java API ?

2005-06-17 Thread Jesse Alexander (KBSA 21)
sounds like a memory leak... Have you tried to give it a look using a profiler? hth Alexander -Original Message- From: Andreas Brker [mailto:[EMAIL PROTECTED] Sent: Friday, June 17, 2005 3:04 PM To: 'dev@api.openoffice.org' Subject: [api-dev] How stable is the Java API ? Hello, we