setLookasideConfig

fun setLookasideConfig(slotSize: Int, slotCount: Int): OpenParamsBlock

Configures lookaside memory allocator

SQLite default settings will be used, if this method isn't called. Use setLookasideConfig(0,0) to disable lookaside

Note: Provided slotSize/slotCount configuration is just a recommendation. The system may choose different values depending on a device, e.g. lookaside allocations can be disabled on low-RAM devices

Parameters

slotSize

The size in bytes of each lookaside slot.

slotCount

The total number of lookaside memory slots per database connection.