java.lang.outOfMemoryError in TrueSight Orchestration adapter for TrueSight Server Automation

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    TrueSight Orchestration Application Adapters


    COMPONENT:

    TrueSight Orchestration Content


    APPLIES TO:

    BMC Atrium Orchestrator Content, All versions TrueSight Orchestration Content, All versions



    PROBLEM:

     

    The BMC Server Automation / TrueSight Server Automation (TSSA) adapter for BMC Atrium Orchestrator / TrueSight Orchestration (TSO) returns an error message in the adapter response:

      

    <commands-output>
      <command-output>
        <metadata>
          <command>blcli_execute Server getServerDBKeyByName "server1"  </command>
          <line-count>1</line-count>
          <execution-milliseconds>8953</execution-milliseconds>
          <exit-code>1</exit-code>
          <status>error</status>
          <error>Exit code indicates error</error>
        </metadata>
        <output>
          <line index="1">Command execution failed. java.lang.OutOfMemoryError: Java heap space</line>
        </output>
      </command-output>
    </commands-output>

     


    CAUSE:

    The adapter leverages the TSSA BladeLogic Command Line Interface (BLCLI), which has its own process and memory settings. The BLCLI does not have the memory it needs to perform a request, so it returns an error to the adapter.


    SOLUTION:

     

    Modify your TSSA adapter configuration to specify a higher maximum heap size. This tells the adapter to create the BLCLI process with more memory. Edit the adapter configuration and set the parameter "Blcli jvm Options" to "-Xmx512M", without quotes. After you save your changes, TSO will automatically use the new settings. If the error persists you can increase this memory setting further; the maximum allowable setting depends on your environment and your server resources.

    For more information about the adapter configuration, please see the adapter documentation.

     


    Article Number:

    000267780


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles