Java Settings for Writer

Writing a book, Automating Document Production - Discuss your special needs here
Post Reply
ErickGriffin
Posts: 28
Joined: Sat Dec 22, 2007 9:31 pm

Java Settings for Writer

Post by ErickGriffin »

Hey can anyone tell me how to change the settings for the JVM? I would like to bump Xmx, Xms and Xmn (are there any others I am not aware of?).
I updated Extras->Options->OO.org->Java->JRE->Parameters settings for example -DXmx1024k.

I am running WinXP 64 on AMD 9850 Quad with 4Gigs.

Any help, hints appreciated.

Thanks.
Thanks for any help,
--Erick

XUbuntu 9, AMD 9850(black) Quad (overclocked, liquid cooled - it lives), 4GB,
Open Office 3.1.1
User avatar
DrewJensen
Volunteer
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Java Settings for oowriter

Post by DrewJensen »

From the main menu

Tolls>Options
OpenOffice.org-> Java
On the right side of dialog the button "Parameters" - click it
Enter your start parameters

Drew
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
ErickGriffin
Posts: 28
Joined: Sat Dec 22, 2007 9:31 pm

Re: Java Settings for oowriter

Post by ErickGriffin »

I guess I should be more specific. Can you tell what java options I can manipulate that will have any affect on the oowriter, how to set them in the parameters dialog (i.e. do I have to use -DXmx1024k as shown in my previous append) and lastly which ones might alleviate issues with oowriter handling documents that have a large amount of images. I think what I have done is working somewhat since the application actually seems to start faster and does some processing quicker, though that just might be me. Here is what I have, have I done it right? Any other suggestions?
Example of my oowriter java parameters setting (java opts)
Example of my oowriter java parameters setting (java opts)
Any help appreciated. Thanks!
Thanks for any help,
--Erick

XUbuntu 9, AMD 9850(black) Quad (overclocked, liquid cooled - it lives), 4GB,
Open Office 3.1.1
hol.sten
Volunteer
Posts: 495
Joined: Mon Oct 08, 2007 1:31 am
Location: Hamburg, Germany

Re: Java Settings for oowriter

Post by hol.sten »

ErickGriffin wrote:Any other suggestions?
Only a part of OOo is developed in Java. For a much bigger part C++ has been used. So I don't think that you can alleviate issues with OOo Writer handling documents that have a large amount of images. Try the settings at "Tools" > "Options..." > "OpenOffice.org" > "Memory" instead.
OOo 3.2.0 on Ubuntu 10.04 • OOo 3.2.1 on Windows 7 64-bit and MS Windows XP
User avatar
DrewJensen
Volunteer
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Java Settings for oowriter

Post by DrewJensen »

Yes, Hol.sten is correct.
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
ErickGriffin
Posts: 28
Joined: Sat Dec 22, 2007 9:31 pm

Re: Java Settings for oowriter

Post by ErickGriffin »

Would these be the memory per object and number of objects to keep in cache?

On Windows I set my mem/obj to 1,0MB since none are clearly more than 100KB and the number of objects in cache to 100. Still on windows x64 with 4GB of ram, OO gets to 1.6GB or so, stops assembling the document and when I go look inside there are a number of image frames that just say READ ERROR. I assume this is because OO ran out of memory, correct me if I am wrong. Oh, my memory for OO itself is set to around 20MB, should that be higher?

Thanks.
Thanks for any help,
--Erick

XUbuntu 9, AMD 9850(black) Quad (overclocked, liquid cooled - it lives), 4GB,
Open Office 3.1.1
User avatar
DrewJensen
Volunteer
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Java Settings for oowriter

Post by DrewJensen »

I take it you mean the settings available with Tools>Options>OpenOffice.org>Memory?

No, those are not related to the java runtime engine, they affect the memory used by the uno objects throughout the rest of OO.o
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
arfgh
Posts: 566
Joined: Tue Mar 05, 2013 6:44 pm

Re: Java Settings for Writer

Post by arfgh »

guys can you please explain more about thet starting java parameters in order to obtain the better reponse on Base ?
thx in advance.

Also what about these 3 parameters on the upper shared picture, what they means or improve ?
OpenOffice last version | Mageia Linux x64 | Ubuntu Linux | Windows 8.1 Enterprise x64 | Java last version
arfgh
Posts: 566
Joined: Tue Mar 05, 2013 6:44 pm

Re: Java Settings for Writer

Post by arfgh »

^^ nobody ?
OpenOffice last version | Mageia Linux x64 | Ubuntu Linux | Windows 8.1 Enterprise x64 | Java last version
Post Reply