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

(Doc ID 1461262.1)

Last updated on NOVEMBER 17, 2017

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.1 to 11.2]
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.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms