Increase heap size on ncm-as service & powerup.jnlp file.
search cancel

Increase heap size on ncm-as service & powerup.jnlp file.

book

Article ID: 345107

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

How to increase heap size on ncm-as service & powerup.jnlp file?

Environment

NCM 10.1.x

Resolution

To increase the heap-size on ncm-as process on Application Server, execute the following changes:

  • Execute: source /etc/voyence.conf
  • Take backup of /etc/init.d/ncm-as file for NCM 10.1.6 and below or take backup of $VOYENCE_HOME/bin/service/ncm-as file for NCM 10.1.8 and above.
  • Open ncm-as file:
    In CATALINA_OPTS change the -Xms2048m -Xmx4096m values to -Xms4096m -Xmx8192m
  • Execute: service vcmaster restart
    Note: Above change will change the heap-size max from default 4GB to 8GB. Make sure the Application Server has 16 GB RAM or more to make above changes.



To increase the heap-size in $VOYENCE_HOME/ncmcore/webapps/voyence/powerup.jnlp file:

  • Change below:
    From: initial-heap-size="128m" max-heap-size="512m
    To: initial-heap-size="256m" max-heap-size="1024m"
  • Execute: service vcmaster restart

 

On NCM Client machine (where GUI is launched):