DBMS_SQL.TO_REFCURSOR Leaks Memory When Used In a Loop
(Doc ID 2335805.1)
Last updated on FEBRUARY 18, 2019
Applies to:PL/SQL - Version 22.214.171.124 and later
Information in this document applies to any platform.
The code is using DBMS_SQL.TO_REFCURSOR in a PL/SQL FOR loop and you observe memory leak. For example when you run the below sample code you will see the memory leak.
In session 1 run the below PL/SQL block:
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