PL/SQL Program with UTL_FILE Calls Does Not Release Memory
Last updated on AUGUST 29, 2017
Applies to:PL/SQL - Version 10.2.0.4 to 22.214.171.124 [Release 10.2 to 11.1]
Information in this document applies to any platform.
***Checked for relevance on 24-Aug-2017***
PL/SQL programs that issues multiple utl_file calls see pga memory increasing each time the program is called, ie:
0 ? 10596 usupport 154 20 1158M 6212K sleep 0:00 2.40 0.87
1 ? 10596 usupport 154 20 1179M 27536K sleep 0:04 12.42 12.19
1 ? 10596 usupport 152 20 1237M 83536K sleep 0:50 31.48 31.42
Memory will reset each time after the program is called if DBMS_SESSION.RESET_PACKAGE is included in the code and this may serve as a work-around.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms