databaseMaxSize property

int databaseMaxSize
final

Sets a strict upper size limit on each underlying database individually (of which there are multiple)

It is also recommended to set a limit on the number of tiles instead, using FMTCTileProviderSettings.maxStoreLength. If using a generous number there, use a larger number here as well.

Setting this value too low may cause unexpected errors when writing to the database. Setting this value too high may cause memory issues on certain older devices or emulators.

Defaults to 2GiB (2048MiB).

Implementation

final int databaseMaxSize;