ORA-04030 (KXS-HEAP-W,QMEMNEXTBUF:LARGE ALLOC) from XMLTABLE Passing XMLTYPE with Binary XML (Doc ID 1512845.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Server - Enterprise Edition - Version 11.2.0.3 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

Cause

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