The Spectrum OneClick WebApp crashed - how to increase WebApp memory allocation
search cancel

The Spectrum OneClick WebApp crashed - how to increase WebApp memory allocation

book

Article ID: 140901

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The Spectrum OneClick WebApp crashed in ActiveMQ processing due to running out of memory.  How can memory allocation for the WebApp be increased?

Environment

Release : All Supported Releases

Component : SPCOCK - Spectrum OneClick

Resolution

Edit the $SPECROOT/webtomcat/webswing/webswing.config file and change the vmargs to 2048:

    "vmArgs" : "-Xmx2048m -Djavaws.cfg.jauthenticator=true -DbrowserIp=${clientIp} -Dsun.awt.noerasebackground=true -Duser.timezone=${clientTimeZone} -Djavax.net.ssl.trustStore=${SPECROOT}/custom/keystore/cacerts -Djavax.net.ssl.trustStorePassword=changeit",

  

Stop and restart the Spectrum WebTomcat.  

Additional Information

To increase server memory:

https://knowledge.broadcom.com/external/article?articleId=192748