setMaxImportChunkSize

@MapboxExperimental
open fun setMaxImportChunkSize(maxChunkSize: Long): TileStoreImportOptions

The size of the chunks in which the import operation will be split for tiles and resources (default: 32MiB). Larger chunks increase throughput but reduce TileStore responsiveness during import operations, while smaller chunks maintain system responsiveness at the cost of decreased overall import speed due to increased overhead. The default 32MiB was chosen so that a chunk is processed in well under ~1 second at 50MiB/s transfer rates (typical USB 2.0 to SSD performance), balancing import efficiency with system responsiveness. USB-to-SSD transfer speeds are limited by the slower of the two interfaces, with USB 2.0 theoretical maximum of 480Mbps often reduced to 30-60MiB/s in practice due to protocol overhead, device capabilities, and storage write speeds.