My Oracle Support Banner

Repeated Execution of TABLE(XMLSequence) I a PL/SQL Procedure Allocates Memory In PGA And Does Not Release It When The Code Completes (Doc ID 1456006.1)

Last updated on MARCH 01, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.1 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


Executing several times a query from table(XMLSequence) increases pga_used_mem and pga_alloc_mem
more and more.

 -- Example of code allocating the memory --

The memory is freed only when the session is closed.




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

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