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"
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
These documents provide some guidance:
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.
- https://jazz.net/wiki/bin/view/Deployment/ConfiguringAndTuningWAS
- http://www-01.ibm.com/support/docview.wss?uid=swg21519763
- https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.jazz.install.doc%2Ftopics%2Ft_s_server_installation_setup_WAS.html
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.