Shares 18

One of the widely used configurations in WebSphere application server would be to adjust the JVM memory heap size. This is something you will touch at some point while working as WebSphere Administrator.

Default JVM heap size may not be sufficient for many applications that’s where you need to know how to adjust them. Here is how you can do it in JVM, Node agent & Deployment Manager.

Modify Memory Heap Size in JVM

  • Login into DMGR
  • Go to Server Types >> WebSphere application servers
  • Click on desired JVM
  • Click on Process definition under “Java and Process Management”

was-process-definition

  • Click on Java Virtual Machine under “Additional Properties”

was-jvm

  • Enter minimum and maximum heap size (as shown below for configuring 1 GB as minimum and maximum size)

ibm-was-jvm-memory

  • Click on Apply and Ok
  • Restart the JVM to get this effective

Modify Memory Heap Size in Nodeagent

  • Login into DMGR
  • Go to System administration >> Node agents
  • Click on nodeagent
  • Expand Java and Process Management and click on Process definition
  • Click on Java Virtual Machine under “Additional Properties”
  • Enter the minimum and maximum heap size
  • Restart the Nodeagent to get this effective

Modify Memory Heap Size in DMGR

  • Login into DMGR
  • Go to System administration >> Deployment manager
  • Expand Java and Process Management and click on Process definition
  • Enter the minimum and maximum heap size
  • Restart the DMGR to get this effective

Tip: Memory heap size is stored in server.xml of respective JVM/Nodeagent/DMGR. If you are not sure the location, use find command on Linux.

So that was all for today and I hope this is useful to you. If you think so, why not share with your friends?

Shares 18

Reader Interactions

Comments

Your email address will not be published. Required fields are marked *