Hitachi Device Manager Running out of Memory

Hitachi Device Manager (HiCommand Server) may sometimes run out of memory and cause the Sentry 's solutions to fail. This article explains the procedure to follow when this situation occurs.

Related Topics

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:

  1. 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)
  2. Search for the server.agent.maxMemorySize property. If not present, add it to the file.
  3. Specify the maximum memory size in megabytes.
    Example: server.agent.maxMemorySize=2048, if you want to set the maximum memory size to 2GB.
  4. Save your file.
  5. Restart the Hitachi Device Manager service.

The performance of Hitachi Device Manager should now be significantly improved.