Announcing NCM 7.7With NCM 7.7, you can examine the rules that make up an access control list for a Cisco ASA device. Then you can apply filters to display only rules that meet the specified criteria, order the rules by line number or by the hit count, and much more. See new features and improvements.

Properly size Java heap space in STM

Table of contents

Overview

Environment

STM 4.11.x

STM 5.0

STM 5.1

STM 5.2

STM 5.3

STM 5.3.3

STM 6.0

STM 6.1

STM 6.1.1

STM 6.2

STM 6.2.1

STM 6.3

STM 6.4

Steps

There must be a 2:1 ratio of total physical RAM on the box where STM (server or agent) is installed versus the Java requirement in terms of the Java software RAM. For example, if the box has 32 GB of RAM, then Java can safely latch 16 GB of RAM. To verify this information, right-click on My Computer and check the Installed Memory (RAM) information.

For STM servers, the total Java RAM requirement is the cumulative value of the following services:

Collector

Event Receiver

Maintenance

Polling engine

Apache Tomcat

MySQL

To individually verify the values:

Open the STM Web Console and click the left navigation pane.

Click Storage Manager Health Status to display the RAM allocation for each service.

For STM agents, the total Java RAM requirement by default is 512 MB XMX.

To verify this information:

Stop the SolarWinds Storage Manager Collector service (STM server) or the SolarWinds Storage Manager Agent service (STM agent) using services.msc.

Go to C:\Program Files\SolarWinds\Storage Manager Agent\.

Open the Storage Manager Agent.ini file in Notepad.

Locate the following lines and change the XMX value:[defines] EXT_ARGS=-XX:MaxPermSize=256M -Xrs -Xms67108864 -Xmx536870912 -Djsnmp.ignoreV1V2PduSizeLimit=true -Djava.net.preferIPv4Stack=true -Duser.language=en -Duser.region=US -Dsun.nio.ch.disableSystemWideOverlappingFileLockCheck=true -Dsun.lang.ClassLoader.allowArraySyntax=true -cp lib\kernel.jar com.tektools.bootstrap.BootRunner lib\core.jar Values with no preceding letters are calculated in byte notation such as MB and GB. The XMS value translates to the start or initialization value of Java. The XMX Java heap size translates to the maximum or end value that Java increases to once it starts getting into full stride. For example, if the box has a total of 8 GB RAM and serves only as an STM Java agent, you can increase the XMX value accordingly. In this example, change the XMX value to 4096M or 4 GB of RAM. The following is the result of the change:[defines] EXT_ARGS=-XX:MaxPermSize=256M -Xrs -Xms67108864 -Xmx4096m -Djsnmp.ignoreV1V2PduSizeLimit=true -Djava.net.preferIPv4Stack=true -Duser.language=en -Duser.region=US -Dsun.nio.ch.disableSystemWideOverlappingFileLockCheck=true -Dsun.lang.ClassLoader.allowArraySyntax=true -cp lib\kernel.jar com.tektools.bootstrap.BootRunner lib\core.jar