GENERATE_SUBPOOL_DIR_FULL

high

ABAP Program Generation Subpool Directory Exhausted

Module: ABAP / Memory

What this means

GENERATE_SUBPOOL_DIR_FULL fires when the ABAP runtime cannot generate or load a program because the subpool directory — a memory structure that tracks generated program code in shared memory — is full. This is a shared memory exhaustion issue that affects all work processes. Causes: a large number of distinct programs loaded in a short period (common during mass parallel report execution or test runs); the shared memory allocated for program buffers (rdisp/bufreftime, rdisp/buffertime, abap/buffersize) is too small for the number of programs being loaded; or a pathological pattern of repeated program generation.

Recommended Fix

Check SM50 for work process states — many processes waiting for program loads indicates this condition. Review RZ11 for abap/buffersize (program buffer) and abap/shared_objects_size_MB. Increase program buffer size if hardware allows. Check whether batch jobs are generating enormous numbers of dynamic programs (GENERATE SUBROUTINE POOL) — this pattern can exhaust the subpool rapidly. A buffer reset (careful in production) can provide temporary relief.

Quick Info

ModuleABAP / Memory
Severityhigh
Diagnose in
ST22SM50RZ11