Repeated Calls To UTL_HTTP.BEGIN_REQUEST In Same Session Can Result In PGA Memory Leak ORA-04036
Last updated on JULY 05, 2017
Applies to:PL/SQL - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
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:
Moved DB to 12c.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms