As we known, we can specify our own JVM parameters by console in WAS, but there is no entry to do such actions in Express WAS.<o:p></o:p>
We can specify them in server.xml in Express WAS by following below steps.<o:p></o:p>
1) Find XML snippet like below in server.xml.<o:p></o:p>
1. ... <o:p></o:p>
2. <processDefinitions xmi:type="processexec:JavaProcessDef" xmi:id="JavaProcessDef_1188379175937" workingDirectory="${USER_INSTALL_ROOT}" executableTargetKind="JAVA_CLASS" executableTarget="com.ibm.ws.runtime.WsServer"> <o:p></o:p>
3. <execution xmi:id="ProcessExecution_1188379175937" processPriority="20" runAsUser="" runAsGroup=""/> <o:p></o:p>
4. <ioRedirect xmi:id="OutputRedirect_1188379175937" stdoutFilename="${SERVER_LOG_ROOT}/native_stdout.log" stderrFilename="${SERVER_LOG_ROOT}/native_stderr.log"/> <o:p></o:p>
5. <monitoringPolicy xmi:id="MonitoringPolicy_1188379175937" maximumStartupAttempts="3" pingInterval="60" pingTimeout="300" autoRestart="true" nodeRestartState="STOPPED"/> <o:p></o:p>
6. <jvmEntries xmi:id="JavaVirtualMachine_1188379175937" verboseModeClass="false" verboseModeGarbageCollection="false" verboseModeJNI="false" runHProf="false" hprofArguments="" debugMode="false" debugArgs="-Djava.compiler=NONE -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7778" genericJvmArguments="-Xms256m -Xmx1500m"/> <o:p></o:p>
7. processDefinitions> <o:p></o:p>
8. ... <o:p></o:p>
2)There are some preset parameters in element, and then find genericJvmArguments attribute to specify your own JVM parameters like below.<o:p></o:p>
1. genericJvmArguments="-Xms256m -Xmx1500m -Xheapdump:event=vmstart,vmstop" <o:p></o:p>
<o:p> </o:p>