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 FEBRUARY 03, 2019

Applies to:

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

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
(kxs-heap-w,qmemNextBuf:Large Alloc)
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

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