Maximum Java Interpreter Heap Size (java_heap_sz)

Configuration Type
Database manager

Applies to

Parameter Type
Configurable

Default [Range]
512 [0 - 4 096]

Unit of Measure
Pages (4 KB)

When Allocated
When a Java application starts

When Freed
When a Java application completes

Related Parameters
Java Development Kit 1.1 Installation Path (jdk11_path)

This parameter determines the maximum size of the heap that is used by the Java interpreter.

There is one heap for each DB2 process (one for each agent or subagent on UNIX-based platforms, and one for each instance in other platforms), and there is also one heap for each fenced UDF and fenced stored procedure process. In all situations, only the agents or processes that run Java UDFs or stored procedures ever allocate this memory. On partitioned database systems, the heap is multiplied by the number of database partition servers.