It's all about the answers!

Ask a question

values for server.startup.bat


Mahari Hill (484164184) | asked Oct 07 '16, 12:00 p.m.
All,

I have an 8GB machine that I am putting a demo of CLM on. I am trying to edit the server.startup.bat file:

set JAVA_OPTS=%JAVA_OPTS% -Xmx6G
set JAVA_OPTS=%JAVA_OPTS% -Xms6G
set JAVA_OPTS=%JAVA_OPTS% -Xmn512M
set JAVA_OPTS=%JAVA_OPTS% -XX:MaxDirectMemorySize=1G

I changed the 4G to 6G on set JAVA_OPTS=%JAVA_OPTS%. What should the values of "Xms512M" & "MaxDirectMemorySize=1G"

Accepted answer


permanent link
Alan Sampson (93729) | answered Oct 07 '16, 1:18 p.m.
JAZZ DEVELOPER
edited Oct 07 '16, 1:23 p.m.
These documents provide some guidance:
From the last document above the recommendation is it you do sety -Xmn it should be set 1/4 of the total heap size.

I don't see any recommendations for changing MaxDirectMemorySize and it would likely need a full performance analysis to make a judgement on an alteration. This document
explains it's use.

I would caution though that the general recommendation is that the Java heap should be set to no more than half the total RAM available to the system. Exceeding that recommendation can cause the operating system to fail.

Mahari Hill selected this answer as the correct answer

Your answer


Register or to post your answer.