JVMConfiguration - cws-khuntly/WebSphere GitHub Wiki


date: 2025-05-08 14:40:02 created: 2025-05-08 14:38:28 categories:

  • WebSphere / Server Build / Common Configuration / Portal Servers

JVM Configuration

Login to the ISC

Navigate to Servers -> Server Types -> WebSphere Application Servers

For each Portal server, perform the following steps:

Select "Process Definition" under "Java and Process Management"

Select "Java Virtual Machine"

 - Uncheck "Verbose class loading"

 - Check "Verbose garbage collection"

 - Uncheck "Verbose JNI"

 - Initial heap space: 4096

 - Maximum heap space: 4096

  - NOTE: The above heap sizes are base values and should be adjusted to suit the environment

 - Check "Run HProf"

  - HProf arguments: cpu=samples,interval=20,format=a,file=${SERVER_LOG_ROOT}/java.hprof.txt,force=n,thread=y,lineno=y

 - Uncheck "Debug mode"

  - Leave "Debug arguments" populated with the default values

 - Enter the following in the "Generic JVM arguments" textbox: [Generic JVM Arguments for Portal Servers](onenote:#Generic JVM Arguments for Portal Servers&section-id={5A2B23FD-459E-41BA-8047-B07D4BBF2CB9}&page-id={38EE069B-80A6-48AB-BBA7-AA0D35C5D527}&end&base-path=https://d.docs.live.net/695f42c59c29bbc9/Documents/WebSphere/Documentation/WebSphere/WebSphere/Portal%20Server%20Build.one)

 - Click "OK"

Select "Process Execution"

 - Run as user: The desired service account ID

 - Run as group: The primary group for the "Run as user" account

 - Click "OK"

Save changes

⚠️ **GitHub.com Fallback** ⚠️