My Oracle Support Banner

ORA-04030 for (PLS PGA hp,PL/SQL STACK) & Server Crash due to lack of free memory (Doc ID 1461262.1)

Last updated on FEBRUARY 01, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


The Oracle database Alert log records an error similar to:
ORA-04030: out of process memory when trying to allocate 8216 bytes (PLS PGA hp,PL/SQL STACK)

An examination of the trace file shows that a significant amount of memory has been allocated to "PL/SQL STACK"


Finally, the system may crash because it has run out of free memory.


A PL/SQL Procedure was recently modified.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.