My Oracle Support Banner

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 11.2.0.3 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.

Symptoms

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 11.1.0.7.

The following code demonstrates the issue (if the number of rows are reduced to 65300 then the error does not occur):

 

begin
 *
ERROR at line 1:
ORA-04030: out of process memory when trying to allocate 55600 bytes
(kxs-heap-w,qmemNextBuf:Large Alloc)
ORA-06512: at line 3

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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