title: How to solve this memory errors in Oracle
body: <p>I've got a package that elaborates XML documents. The package runs shedulated daily but after a few weeks, now every day it gives errors like:</p>
  <pre><code>ORA-04030: out of process memory when trying to allocate 4032 bytes (qmxdGetDocElem,qmemNextBuf:alloc)
  ORA-04030: out of process memory when trying to allocate 1032 bytes (qmxlu subheap,qmemNextBuf:alloc)
  ORA-04030: out of process memory when trying to allocate 40 bytes (kxs-heap-f,frame segment)
  </code></pre>
  <p>and I've never met such errors.
  If I try to perform manually the package in other moments it works and terminates reguraly.
  Can someone give me some suggestion? What about this type of errors? I work on Oracle 10g</p>
  <p>Thanks in advance!</p>
  <p>Mark</p>