Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Java Web Application that uses an OOo instance (on the same environment) started in headless mode as batch converter.

  • environment is RHEL 5.5.
  • The OpenOffice version is 3.1.

I've run some tests and I found that after about 1000 conversion the resident memory of the soffice process was around 99% of the total. OpenOffice finally crashed.

I would use this server as a batch converter for documents, but this memory issue is requiring a daily restart according to the medium amount of conversion request that we have.

I know that this memory issue is affecting OO since release 2. I would know if there is a solution, or if using a Windows Server instead of Linux could solve the problem.

Thank you.

share|improve this question

You may be interested in "OpenOffice Server Daemon".

By managing the conversion it enables you to:

  • take advantages of multithreading during conversion by parallelizing them
  • reduce the impact of memory leaks by restarting each soffice process in case of a crash and/or after a predefined number of conversions

A good point is you don't have to modify any of your code, the interface to the server is the same than the one to OO.

share|improve this answer
looks interesting. Do you know oooServer (see the edit in my answer for link) and if so, have any experience with it? – Angelo Fuchs Feb 2 '12 at 10:29
Sorry I don't, I found OO Server Daemon a few months ago while looking at the conversion tool in OO.o but didn't use it. Given the lack of commits you may want to try the solution you found (oooServer) first because it has been updated more recently. – Shadok Feb 2 '12 at 10:34
my customer decided to have his own system of handling OOo instances implemented. More specialized to the task at hand, so I wont come around testing it :( I was looking forward to it. Maybe the other day. – Angelo Fuchs Feb 2 '12 at 21:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .