We have a java application that is using OpenOffice.org to create PDFs
and to print documents.  When it is run in the foreground (interactively
through a signed on user) it runs fine and can go for days processing
hundreds of thousands of documents.  When we run our application as a
Windows service, OpenOffice.org starts crashing after several hours and
cannot seem to get through more then 27,000 documents or so before it
just crashes on every attempted use.  The only way to get it running
again is to reboot the server.  We do an orderly shutdown and start up
of OpenOffice.org every 1000 documents processed since it seems to have
a memory leak and will eventually crash hard if we don't restart it
every so often.
 
Does anyone have any ideas on what we can do to get OpenOffice to run
reliably when it is started under the context of a Windows service?
 
Thanks.
 

--

Einstein argued that there must be simplified explanations of nature,
because God is not capricious or arbitrary. No such faith comforts the
software engineer.

- Fred Brooks, Jr.

 

Reply via email to