Application Heap Size (applheapsz)

Configuration Type
Database

Parameter Type
Configurable

Default [Range]
128 [ 16 - 60 000 ]

64 [ 16 - 60 000 ] (multipartition)

Unit of Measure
Pages (4 KB)

When Allocated
When an agent is initialized to do work for an application

When Freed
When an agent completes the work to be done for an application

Related Parameters
Application Control Heap Size (app_ctl_heap_sz)

This parameter defines the number of private memory pages available to be used by the database manager on behalf of a specific agent or subagent.

The heap is allocated when an agent or subagent is initialized for an application. The amount allocated will be the minimum amount needed to process the request given to the agent or subagent. As the agent or subagent requires more heap space to process larger SQL statements, the database manager will allocate memory as needed, up to the maximum specified by this parameter.
Note:In a partitioned database environment, the application control heap (app_ctl_heap_sz) is used to store copies of the executing sections of SQL statements for agents and subagents. SMP subagents, however, use applheapsz, as do agents in all other environments.

Recommendation: Increase the value of this parameter if your applications receive an error indicating that there is not enough storage in the application heap.

The application heap (applheapsz) is allocated out of agent private memory.