Bootstrap FreeKB - IBM WebSphere - Generic JVM arguments
IBM WebSphere - Generic JVM arguments

Updated:   |  IBM WebSphere articles

Generic JVM arguments can be used to configure a WebSphere application server. For example, a JVM argument can be used to configure the application server with a certain minimum and maximum heap size.

In the WebSphere admin console, select Servers Server types WebSphere application servers > your application server > Java and Process Management > Process definition > Java Virtual Machine. In this example, generic JVM argument -XX:NewSize=512M is used. This JVM argument configures the application servers heap young generation to an initial size of 512 MB. You will need to restart the application server for this change to take effect.


On the WebSphere server, the following file will be updated.



Here is an example of what could be found in the server.xml file.



On a Linux system, the ps command can be used to validate that the JVM is using the argument at runtime.

ps -ef | grep -i WebSphere
. . .


Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee


February 28 2024 by Asdaq
Do u have any list of Generic JVM parameters along with its usage used in WebSphere 8 and onward. Please publish it.

Add a Comment

Please enter 485524 in the box below so that we can be sure you are a human.