We've run into a problem writing a large xml-file using oracle 9i's xmldb facility. The query generates about 3 million lines, and oracle responds with the following error message:
ERROR at line 1:
ORA-04030: out of process memory when trying to allocate 4012 bytes
(qmxtgCreateBuf,kghsseg: kolaslCreateCtx)
ORA-06512: at "....", line 1154
ORA-06512: at line 1
ERROR:
ORA-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s],
[%s], [%s]
In the alert log:
Errors in file d:/db/admin/acc1/udump/acc1_ora_8112.trc:
ORA-00600: internal error code, arguments: [729], [104], [space leak], [], [], [], [], []
We've tried increasing the process memory, but that has hardly any effect at all.
Is there a way to have oracle use less memory for the xml (a 'lazy manifestation' / writethrough switch or something like that?