title: What is the Oracle KGL SIMULATOR?
body: <p>What is this thing called a KGL SIMULATOR and how can its memory utilisation be managed by application developers?</p>
  
  <p>The background to the question is that I'm occasionally getting errors like the following and would like to get a general understanding of what is using this heap-space?</p>
  
  <blockquote>
    <p>ORA-04031: unable to allocate 4032 bytes of shared memory ("shared pool","select text from > view$ where...","sga heap(3,0)","kglsim heap")</p>
  </blockquote>
  
  <p>I've read forum posts through Google suggesting that the kglsim is related to the KGL SIMULATOR, but there is no definition of that component, or any tips for developers.</p>