Override default Java Heap memory (XMX) value for Data Collector utilities
You may require to override the default Java Heap Memory (XMX) value to avoid performance degradation or potential "OutOfMemoryError" exceptions. The following procedure provides the override steps for Windows and Linux hosts.
To override the default XMX value for Data Collector Windows batch scripts, uncomment the XMX variable in dc_override_config.bat present in the mbs\conf directory and provide the updated XMX value. The comment in the batch file will guide you to identify the variable to be overridden for the script you are interested.
Example: Override XMX value for checkinstall.bat script
Update XMX value in dc_override_config.bat
:: checkinstall.bat
XMX_CHECK_INSTALL=-Xmx17gThe backup of the dc_override_config.bat is saved to the mbs\conf directory with the name dc_override_config.bat_bkp.
Note:
Use :: only for comment and at the beginning of the line.
To override the default XMX value for Data collector Linux batch scripts, uncomment the XMX variable in dc_override_config.sh present in the mbs/conf directory and provide the updated XMX value. The comment in the shell script file will guide you to identify the variable to be overridden for the script you are interested.
Example: Override XMX value for checkinstall.sh script
Update XMX value in dc_override_config.sh
#checkinstall.sh
XMX_CHECK_INSTALL=-Xmx17gThe backup of the dc_override_config.sh is saved to the mbs\conf directory with the name dc_override_config.sh_bkp.
Note:
Use # only for comment and at the beginning of the line.