#include <db_cxx.h> int Db::get_heapsize(u_int32_t *gbytesp, u_int32_t *bytesp);
Used when the underlying database is configured to use the Heap access method. This method returns the maximum size of the database's heap file. This value may be set using the Db::set_heapsize() method.
The Db::get_heapsize()
method may be called at any time during the
life of the application.
The Db::get_heapsize()
method either returns a non-zero error value or throws an
exception that encapsulates a non-zero error value on
failure, and returns 0 on success.
The gbytesp parameter references memory into which is copied the maximum number of gigabytes in the heap.