#include <db_cxx.h>void DbEnv::set_lk_max(u_int32_t);
Set the maximum number of locks to be held or requested in the table. This value is used by DbLockTab::open to estimate how much space to allocate for various lock-table data structures. If no value is specified, a default value is used.