Changing the heap size for BMC Server Automation components

You can change the heap size for the Application Server, the Application Server Launcher, and other BMC Server Automation components as described in the following sections.

To change the heap size for the Application Server

You can the heap size for the Application Server from the BMC Server Automation Console or using the blasadmin utility.

For recommendations for the Application Server maximum Java heap size (MaxHeapSize), see Sizing and performance.

From the BMC Server Automation Console

  1. In the BMC Server Automation Console, from the Configuration menu, select Infrastructure Management.
  2. Expand the hierarchy of the Application Servers node.
  3. Right-click the Application Server you want to edit and select Edit. The Edit Application Server Profile dialog box opens.
  4. In the Edit Application Server Profile dialog box, change the values for the MaxHeapSize attribute.

Using the Application Server Administration console (blasadmin utility)

To change the heap size for the Application Server using the blasadmin utility, perform the following steps:

  1. Start the Application Server Administration console, as described in Starting the Application Server Administration console.
  2. Enter the following command:
    set AppServer MaxHeapSize <heapSize>
    For example:
    set AppServer MaxHeapSize 1024M

To change the heap size for the Application Server Launcher

You can also change the heap size for the Application Server Launcher. In a multi-Application Server environment, Application Servers inherit the heap size value from the Application Server Launcher, by default.
To change the heap size for the Application Server Launcher, perform the following steps according to your environment.

  • On Windows platforms, update the registry key HKEY_LOCAL_MACHINE\SOFTWARE\BladeLogic\Operations Manager\Application Server\option1
  • For UNIX and Linux platforms, modify the following line in the blappserv script, which is located in the .../usr/nsh/brdirectory:

    $JAVA_HOME/bin/java -Xss2m -Xmx512M -Djava.io.tmpdir=$BLADELOGIC_HOME/tmp.......

    where -Xmx512M specifies a max heap size of 512 Mb. Changing the value to -Xmx1G, for example, specifies a max heap size of 1 GB.

To change the heap size for other BMC Server Automation components

To change the heap size for other BMC Server Automation components, you modify the configuration script or file for the component.
For example, to change the heap size for the blasadmin utility on Windows, you modify the blasadmin.cfg file. To change the heap size for the BMC Server Automation Console on UNIX or Linux, you modify the blclient script.

  • For Windows platforms, modify the corresponding configuration (.cfg ) file in the br directory. By default, the configuration files are located in C:\Program Files\BMC Software\Bladelogic\NSH\br. In the configuration file, the format for setting the max heap size is jvm.arg=-Xmx1024M.
  • For UNIX and Linux platforms, modify the following line in the corresponding script, which is located in the .../usr/nsh/br directory:
$JAVA_HOME/bin/java -Xss2m -Xmx512M -Djava.io.tmpdir=$BLADELOGIC_HOME/tmp.......

where -Xmx512M specifies a max heap size of 512 Mb. Changing the value to -Xmx1G, for example, specifies a max heap size of 1 GB.

Was this page helpful? Yes No Submitting... Thank you

Comments