  }

    /* 
     * Specify the size of the in-memory cache. 
     */
    ret = envp-&gt;set_cachesize(envp, 0, 
        10 * 1024 * 1024, 1);
    if (ret != 0) {
        fprintf(stderr, "Error increasing the cache size: %s\n",
            db_strerror(ret));
        goto err;
    }</code>
        </strong>
      </pre>
      <p>
    Next, we open the environment and setup our lock detection. This is
    identical to how the example previously worked, except that we do not
    provide a location for the envi