Description
Hitachi Device Manager (HiCommand Server) may sometimes run out of memory and cause the Sentry’s monitoring solutions to fail with the following error:
WBEMException: CIM_ERR_FAILED (java.lang.OutOfMemoryError: Java heap space)
This issue occurs when monitoring large Hitachi environments for which a large amount of data needs to be handled. It can easily be solved by increasing the memory heap size of the Hitachi Device Manager.
Procedure
To increase the memory heap size of the Hitachi Device Manager:
- Open the server.properties file in a text editor. This file is stored in:
- <INSTALLATIONDIRECTORY>\HiCommand\DeviceManager\HiCommandServer\config\server.properties (Windows)
- <INSTALLATIONDIRECTORY>/HDVM/HBaseAgent/agent/config/server.properties (Linux)
- Search for the server.agent.maxMemorySize property. If not present, add it to the file.
- Specify the maximum memory size in megabytes.
Example: server.agent.maxMemorySize=2048, if you want to set the maximum memory size to 2GB. - Save your file.
- Restart the Hitachi Device Manager service.
The performance of Hitachi Device Manager should now be significantly improved.
Related Topics
- Leveraging the HSNM2 CLI to Monitor Hitachi (HDS) AMS, HUS Systems
- Installing the Hitachi Device Manager Agent on Linux
- Unable to Monitor Hardware Using SNMP-based Connectors with PATROL Agent v.9.5.00.02
- Empty Values for mc_object_class, mc_object and mc_parameter Slots in the Sentry KMs ' Events
- Hardware Sentry KM: Some OS Commands Fail and Return no Result