My Oracle Support Banner

Repeated Calls To UTL_HTTP.BEGIN_REQUEST In Same Session Can Result In PGA Memory Leak ORA-04036 (Doc ID 2129466.1)

Last updated on FEBRUARY 12, 2019

Applies to:

PL/SQL - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

1. You are calling UTL_HTTP.BEGIN_REQUEST repeatedly either in a loop or by application design in same session and its failing with ORA-04036 error.

2. Running same code in anonymous PLSQL block doesn't result in such error.

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

The below program will reproduce the issue:

 

Changes

Moved DB to 12c.

Cause

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
Symptoms
Changes
Cause
Solution
References


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