Hi! I'm using OO API (Open Ofiice v3.2) to create reports (OO Writer). But ... when OpenOffice process took about 260 MB of RAM, it stopped and wasn't work! If I stop the process, It will start working. Then it works some time, and stop again! What is it? And why OpenOffice takes very many memory?
P.s. I'm sorry for mistakes, my knowlarge of English is bad ... I want to believe, that you can understand me .
[Solved] Java program was stopped unexpectedly
[Solved] Java program was stopped unexpectedly
Last edited by Hagar Delest on Sat Nov 02, 2013 11:29 pm, edited 1 time in total.
Reason: tagged solved.
Reason: tagged solved.
OpenOffice 3.4.1 on Windows 7
Re: Java program was stopped unexpectedly
Oh, I'm sorry, I mistake. My OO version is 3.4.1, if this will help.
OpenOffice 3.4.1 on Windows 7
Re: Java program was stopped unexpectedly
Try increasing memory options in /Tools /Options/ OpenOffice.org : Memory, then restart OpenOffice to apply this change. It may help. I doubt it will do any harm.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: Java program was stopped unexpectedly
Yes! Thanks!
I installed OO 4.0.1. But ... unfortunately, it has limit 256MB of RAM It takes 210-220MB in real, and after this, sometimes I can't open OO Writer, while OO process is working.
Also it has one setting which clear RAM with 1 minute interval, but it isn't work ... So, it's bad, I need kill process from time to time ...
I installed OO 4.0.1. But ... unfortunately, it has limit 256MB of RAM It takes 210-220MB in real, and after this, sometimes I can't open OO Writer, while OO process is working.
Also it has one setting which clear RAM with 1 minute interval, but it isn't work ... So, it's bad, I need kill process from time to time ...
OpenOffice 3.4.1 on Windows 7
Re: Java program was stopped unexpectedly
The solution may be to compile a version of OpenOffice for yourself, which uses more RAM allocation. The code is available at
svn co https://svn.apache.org/repos/asf ... fice/trunk
with compile notes at
http://wiki.openoffice.org/wiki/Documen ... _Guide_AOO
As far as I know there is about 300MB of source code, so I've never looked into customisation or compiling.
svn co https://svn.apache.org/repos/asf ... fice/trunk
with compile notes at
http://wiki.openoffice.org/wiki/Documen ... _Guide_AOO
As far as I know there is about 300MB of source code, so I've never looked into customisation or compiling.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: Java program was stopped unexpectedly
Oh ... It's bad solution for me ... I do open source library ...
OpenOffice 3.4.1 on Windows 7
Re: Java program was stopped unexpectedly
Omg ... I mistake! I forgot close documents after saving ... I found this on one of topics:
But i didn't see this nowhere. It's strange ... May be I need read documentation more and mindfully.
Code: Select all
XCloseable xclosable =
(XCloseable)UnoRuntime.queryInterface(XCloseable.class, doc);
xclosable.close(true);
OpenOffice 3.4.1 on Windows 7