Configuring memory given to applications

This procedure explains how to set a global application value for the Max Heap property. The Max Heap property as defined in the grid configuration controls the maximum memory amount that can be allotted at node start to an application in a particular node. This property is one of the most commonly configured properties. It enables you to accomplish the important task of ensuring that application nodes have sufficient amounts of memory.

As with any grid property, it is possible to configure the Max Heap property differently for different contexts. For example, you want an application node to have more memory if it is running on a particular host. Sometimes applications define several node types and you may want to configure the Max Heap property differently for different node types. The same goes for bindings. For more information about configuring a property for different contexts, see Grid Properties.

  1. Access the Grid Management Pages as a user with the grid-admin role.
  2. Navigate to the Applications page.
  3. Select the application for which you would like to change max heap settings.
  4. Select Properties from the details of the application.
  5. In the Grid Defined Properties section under Node Memory, click the row for the Max Heap property.
  6. Edit the max heap for the application by clicking Edit, and then specifying the max heap size in the input field that appears. Click Save.
    Note: If the max heap has been overridden or configured in several contexts, you can view and edit those values by navigating the different contexts on the left. If there is an arrow to the left of the context name, this indicates that the Max Heap value has been overridden in that context or by a child to that context.