ORA-04030 (KXS-HEAP-W,QMEMNEXTBUF:LARGE ALLOC) from XMLTABLE Passing XMLTYPE with Binary XML
(Doc ID 1512845.1)
Last updated on MARCH 04, 2019
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
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.
Inserting data into a relational table using an XMLTABLE() construct which passes an XMLType table using the default "store as securefile binary xml" fails with error: ORA-04030: out ofprocess memory when trying to allocate 55600 bytes (kxs-heap-w,qmemNextBuf:Large Alloc).
The issue does not reproduce on 126.96.36.199.
The following code demonstrates the issue (if the number of rows are reduced to 65300 then the error does not occur):
ERROR at line 1:
ORA-04030: out of process memory when trying to allocate 55600 bytes
ORA-06512: at line 3
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