Changing the heap size on App Visibility components
Under certain circumstances, you might need to change the memory heap size on one or more App Visibility components. For example, in large deployments of TrueSight Synthetic Monitor, the heap size on the collector must be increased to 6 GB.
To change the heap size of App Visibility components on Windows
Stop the service of the component you want to modify. See Starting and stopping the App Visibility server services for more details.
Note
If you are working in a high-availability environment, stop the component service on the standby node first, and then stop the service on the active node.
- Delete the service.
- Open a command prompt as an administrator.
- Enter the appropriate command for the component you are updating:
sc delete adop_collector
sc delete adop_portal
sc delete adop_apm_proxy
- Navigate to the bin folder of the component (for example, <collectorInstallationDirectory>\collector\bin).
- Create the service with the new values to set the values of the initial and maximum memory heap in megabytes.
Enter the appropriate command for the component you are updating:Collector createCollectorService.bat /service_name "adop_collector" /service_exe ADOPCollectorService.exe /JvmMs 2048 /JvmMx 6048
Portal createPortalService.bat /service_name "adop_portal" /service_exe ADOPPortalService.exe /JvmMs 2048 /JvmMx 6048
Proxy createApmProxyService.bat /service_name "adop_apm_proxy" /service_exe ApmProxyService.exe /JvmMs 2048 /JvmMx 6048
Start the service.
Note
If you are working in a high-availability environment, start the component service on the active node first, and then start the service on the standby node.
To change the heap size of App Visibility components on Linux
Stop the service of the component you want to modify. See Starting and stopping the App Visibility server services for more details.
Note
If you are working in a high-availability environment, stop the component service on the standby node first, and then stop the service on the active node.
- Navigate to the /etc/bmc folder.
- Open the appropriate conf file for the component you are updating:
- portalDeamon.conf
- collectorDaemon.conf
- apm-proxyDeamon.conf
- Modify the
INITIAL_MEMORY
andMAXIMUM_MEMORY
properties with the new values. Start the service.
Note
If you are working in a high-availability environment, start the component service on the active node first, and then start the service on the standby node.
Comments