VMware Smart Assurance M&R | APG 7.x: Allocating more memory to APG Tomcat
search cancel

VMware Smart Assurance M&R | APG 7.x: Allocating more memory to APG Tomcat

book

Article ID: 323812

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Steps to increase to tomcat heap size.

Environment

VMware Smart Assurance - Watch4Net/M&R

Resolution

By default, Tomcat Memory Allocation is set to 512MB. In most cases, it is necessary to allocate more memory. Based on JVMs Sizing Recommendation report available on MnR update the memory allocation by following below steps:

To change from CLI:

  • Go to <APG_BASE>/Web-Servers/Tomcat/Default/conf/
  • Open unix-service.properties, change Maximum Java Heap Size (memory.max) to required limit for ex: 10240 (in MBytes)
  • Save and exit the file
  • Update the tomcat process using :  ./manage-modules.sh service update tomcat Default
  • Start the  tomcat process using:  ./manage-modules.sh service start tomcat Default

From the Frontend / GUI:

  • Login to Admin console
  • Click on System Admin --> Servers & Modules --> Modules
  • Select Tomcat from list of modules.
  • Click configure service, refer image below:
image.png
  • Now change memory as required (ex: 1024 MB), refer image below:
image.png
  • Save the file.