https://issues.apache.org/ooo/show_bug.cgi?id=41675

--- Comment #44 from Lothar May <[email protected]> ---
Created attachment 83796
  --> https://issues.apache.org/ooo/attachment.cgi?id=83796&action=edit
Simple program to make it easier to find the leak.

I'm attaching a very simple Java program to help hunting down this issue.
All it does is creating and closing Open Office text documents in a loop, and
calling the garbage collector/finalizer to ensure that things are properly
cleaned up on the Java side.
The program takes one argument, which is the number of loops (i.e. the number
of times a text document is created and closed). If you run it with argument
"1000" or "10000" you will note the increase in memory usage just by creating
and closing documents.
In order to run this program, you need the "Nice Office Access" jars (license
LGPL)
http://ubion.ion.ag/loesungen/004niceofficeaccess
and add them to the classpath.
Additionally, add
java_uno.jar;juh.jar;jurt.jar;officebean.jar;ridl.jar;unoil.jar;unoloader.jar
to the classpath.
You may need to adjust the Open Office path
final String officeInstallDir = "C:\\Program Files (x86)\\OpenOffice 4";

I'm sorry I could not attach a complete jar file containing all libs, because
of the size restrictions. Feel free to request it via email.

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to