Geekflare is supported by our audience. We may earn affiliate commissions from buying links on this site.
In WebSphere Last updated: September 6, 2022
Share on:
Invicti Web Application Security Scanner – the only solution that delivers automatic verification of vulnerabilities with Proof-Based Scanning™.

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 System 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 particular 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.

  • Chandan Kumar
    Author
    As the founder of Geekflare, I’ve helped millions to excel in the digital realm. Passionate about technology, I’m on a mission to explore the world and amplify growth for professionals and businesses alike.
Thanks to our Sponsors
More great readings on WebSphere
Power Your Business
Some of the tools and services to help your business grow.
  • Invicti uses the Proof-Based Scanning™ to automatically verify the identified vulnerabilities and generate actionable results within just hours.
    Try Invicti
  • Web scraping, residential proxy, proxy manager, web unlocker, search engine crawler, and all you need to collect web data.
    Try Brightdata
  • Monday.com is an all-in-one work OS to help you manage projects, tasks, work, sales, CRM, operations, workflows, and more.
    Try Monday
  • Intruder is an online vulnerability scanner that finds cyber security weaknesses in your infrastructure, to avoid costly data breaches.
    Try Intruder