ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT

I got ” ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT ” error in Oracle database during the export ( expdp ).

 

ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT

 

Details of error are as follows.

ORA-39097: Data Pump job encountered unexpected error -12801
ORA-39065: unexpected master process exception in DISPATCH
ORA-12801: error signaled in parallel query server PPA7, instance (2)
ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT
ORA-06512: at "SYS.KUPV$FT_INT", line 142
ORA-06512: at "SYS.KUPM$MCP", line 10977
ORA-06512: at "SYS.KUPM$MCP", line 20689

 

 

PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT

This ORA-04036 errors are related with the During the processing of data in a PL/SQL program, the session was terminated with ORA-04036: PGA memory used by the instance exceeds PGA_AGGREGATE_LIMIT

The default value for PGA_AGGREGATE_LIMIT of 6000 MB was used during the first run of the program, then was increased to 10 GB, 20 GB , 30 GB and finally to 100 GB.
The execution of the coverage load with a PGA_AGGREGATE_LIMIT of 100 GB was terminated with the following error stack:

 

To solve this error, you need to set PGA_AGGREGATE_LIMIT 0 OR set PGA_AGGREGATE_LIMIT  to a higher value as follows.

 

alter system set pga_aggregate_limit=0 scope=both sid='*';

 

OR

Firstly Check existing value, then set the parameter to a higher value as follows.

 

SQL> show parameter pga_aggregate_limit

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
pga_aggregate_limit big integer 6G
SQL>

 

 

alter system set pga_aggregate_limit=16G scope=both sid='*';

 

 

Two bugs were found to be the cause of the error

Bug 24513186 – MERGE REQUEST ON TOP OF 12.1.0.2.0 FOR BUGS 23631590 23597210
Bug 24563530 – SDO_AGGR_UNION PGA INCREASE

 

Bug 24513186 is fixed in 12.2; bug 24563530 is fixed in 18.1.

A backport merge patch that fixes both bugs in 12.1.0.2 has been created.

Check My Oracle Support for availability on specific platforms and contact Oracle Support if your platform is not listed.

Install the fix for BUG 25230229 – MERGE REQUEST ON TOP OF 12.1.0.2.0 FOR BUGS 24513186 24563530

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *