Hi,
I am a new jzos user, I need to allocate -Xmx512m for JVM, I found the following setting IJO="-Xms16m -Xmx128m", does it means jzos will automatically decide the memory size between 16m and 128m? it is correct for me to just update it to IJO="-Xms16m -Xmx512m" ?
thank you.
Tony
Will jzos automatically decide IJO="-Xms16m -Xmx128m?
The "IBM_JAVA_OPTIONS" environment variable is used by the IBM JVM to obtain JVM options. The sample JZOS STDENV script for running SDK 1.4 has:
IJO="-Xms16m -Xmx128m"
IJO="$IJO -Djzos.home=${JZOS_HOME}"
export IBM_JAVA_OPTIONS="$IJO "
So, yes, if you change the 128 to 256 you will be setting the maximum heap size to 256MB. Note that the JZOS launcher doesn't use this information; its a setting for the JVM.
IJO="-Xms16m -Xmx128m"
IJO="$IJO -Djzos.home=${JZOS_HOME}"
export IBM_JAVA_OPTIONS="$IJO "
So, yes, if you change the 128 to 256 you will be setting the maximum heap size to 256MB. Note that the JZOS launcher doesn't use this information; its a setting for the JVM.