PGA Grow While Looping At Procedure DBMS_AQ.LISTEN Causing A Small Memory Leak
(Doc ID 2755644.1)
Last updated on APRIL 17, 2023
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 to 22.214.171.124 [Release 11.2 to 19]
Information in this document applies to any platform.
A database session looping at DBMS_AQ.LISTEN procedure will see a steady PGA grow, specifically for the 'kol vstring' structure under heap 'koh-kghu call'.
The memory is totally released once the PL/SQL block or the sessions is finished.
Each call to the DBMS_AQ.LISTEN will add a few bytes to the user's PGA, so this issue is relevant and noticeable only when looping thousands of times.
Implemented Advanced Queue listener feature thru DBMS_AQ.LISTEN.
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