IBM WebSphere - Generic JVM arguments

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

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

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


Web design by yours truely - me, myself, and I   |   |