Set JVM Heap using Scripts

To use the script to set the jvm heap use the cfgJVMHeap.py script.

./wsadmin.sh|bat -lang jython -f cfgJVMHeap.py

bild27

The script shows actual size of initialHeapSize and maximumHeapSize for all JVM

Prompts for initialHeapSize and maximumHeapSize for all JVM

“Return” leaves actual setting intact with no changes.

Using the script can save time and is particularly useful if you have many servers to change.

bild29

Once the script is complete the new settings are visible in the ISC and are picked up on the next server restart.