Library Version 12.1.6.0

DbMpoolFile::get_maxsize()
Prev | Chapter 9. The DbMpoolFile Handle | Next

## DbMpoolFile::get_maxsize()

    #include <db_cxx.h>

    int
    DbMpoolFile::get_maxsize(u_int32_t *gbytesp, u_int32_t *bytesp);

Returns the maximum size configured for the file, as configured using the DbMpoolFile::set_maxsize() method.

The `DbMpoolFile::get_maxsize()` 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 `DbMpoolFile::get_maxsize()` method may be called at any time during the life of the application.

### Parameters

#### gbytesp

The gbytesp parameter references memory into which the gigabytes of memory in the maximum file size is copied.

#### bytesp

The bytesp parameter references memory into which the additional bytes of memory in the maximum file size is copied.

### Class

DbEnv, DbMpoolFile

### See Also

Memory Pools and Related Methods, DbMpoolFile::set_maxsize()

Prev | Up | Next
DbMpoolFile::get_lsn_offset() | Home | DbMpoolFile::get_pgcookie()