Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

values for server.startup.bat

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"

0 votes


Accepted answer

Permanent link
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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,495
× 6,121
× 2,357

Question asked: Oct 07 '16, 12:00 p.m.

Question was seen: 2,749 times

Last updated: Oct 07 '16, 1:23 p.m.

Confirmation Cancel Confirm