Will jzos automatically decide IJO="-Xms16m -Xmx128m?

General discussion on the JZOS batch launcher and toolkit
Post Reply
Tony

Will jzos automatically decide IJO="-Xms16m -Xmx128m?

Post by Tony »

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
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

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.
Tony

Post by Tony »

I got it.

Thank you very much.

Tony
Post Reply