DB_MPOOLFILE->get_maxsize()
Prev | Chapter 8. The DB_MPOOLFILE Handle | Next

## DB_MPOOLFILE->get_maxsize()

    #include <db.h>

    int
    DB_MPOOLFILE->get_maxsize(DB_MPOOLFILE *mpf,
        u_int32_t *gbytesp, u_int32_t *bytesp);

Returns the maximum size configured for the file, as configured using the DB_MPOOLFILE->set_maxsize() method.

The `DB_MPOOLFILE->get_maxsize()` method returns a non-zero error value on failure and 0 on success.

The `DB_MPOOLFILE->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

DB_ENV, DB_MPOOLFILE

### See Also

Memory Pools and Related Methods, DB_MPOOLFILE->set_maxsize()

Prev | Up | Next
DB_MPOOLFILE->get_lsn_offset() | Home | DB_MPOOLFILE->get_pgcookie()