FreeKB - IBM WebSphere Change heap size
IBM WebSphere - Change heap size

To change the heap size of an application server

  1. In the WebSphere admin console, expand Servers > Server Types, and select WebSphere application servers.
  2. Select the application server.
  3. Expand Java and Process Management and select Process definition.
  4. Select Java Virtual Machine.
  5. Update the Initial heap size and/or Maximum heap size.
  6. Select Apply.
  7. Select Save.
  8. Restart the application server for the change to take effect.

 

To change the heap size of the deployment manager (dmgr)

  1. In the WebSphere admin console, expand System administration Deployment manager.
  2. Expand Java and Process Management and select Process definition.
  3. Select Java Virtual Machine.
  4. Update the Initial heap size and/or Maximum heap size.
  5. Select Apply.
  6. Select Save.
  7. Restart the dmgr for the change to take effect.

 

In this example, the initial heap size is 64 MB and the maximum heap size is 256 MB.

 

Sign onto the server and issue the following command to ensure the JVM has the appropriate initial heap value at runtime. In this example, the JVM has an initial heap value of 64 MB.

~]# ps -ef | grep jvm_name | sed "s| |\n|g" | grep -Xms
-Xms64m

 

Issue this command to ensure the JVM has the appropriate maximum heap value at runtime. In this example, the JVM has an maximum heap value of 256 MB.

ps -ef | grep jvm_name | sed "s| |\n|g" | grep -Xmx
-Xmx256m

 

Tivoli Performance Monitor can be used to monitor and visualize the heap utiliation.

 



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 9ad5f in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |