我们在使用 oracle 9i 的 xmldb 工具编写大型 xml 文件时遇到了问题。该查询生成大约 300 万行,oracle 响应以下错误消息:
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]
在警报日志中:
Errors in file d:/db/admin/acc1/udump/acc1_ora_8112.trc:
ORA-00600: internal error code, arguments: [729], [104], [space leak], [], [], [], [], []
我们已经尝试增加进程内存,但这几乎没有任何效果。
有没有办法让 oracle 为 xml 使用更少的内存(“惰性表现”/直写开关或类似的东西?