         DB library allocates memory from a different heap than the application
         uses to free it.  To avoid this problem, the <code class="methodname">DB_ENV-&gt;set_alloc()</code> and
         <a class="xref" href="dbset_alloc.html" title="DB-&gt;set_alloc()">DB-&gt;set_alloc()</a> 
         methods can be used to pass Berkeley DB references to the
         application's allocation routines.
    </p>
      <p>
         It is not an error to specify only one or two of the possible
         allocatio