My Oracle Support Banner

High Consumption Of PGA Leads To ORA-04036/ORA-4030 (Doc ID 2776792.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


On : version, XML Database

High consumption of PGA leads to ORA-04036/ORA-4030

An sql query used to create an XML file (using XMLELEMENT) crashes with ORA-04036 or ORA-04030.

The query creates an XML file of around 1GB, but uses around 34 GB of PGA. In our first test, we got ORA-04036 (pga limit reached). Increased PGA limit to 70 GB, but got ORA-04030.

Changed the ulimit limits for Oracle and grid user to unlimited, but still getting ORA-04030.

Running Oracle Database Enterprise 19.10 on Oracle Linux 8.1


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.