View definition

(Options).InitialMmapSize

Defined in github.com/boltdb/bolt/db.go

Description

InitialMmapSize is the initial mmap size of the database in bytes. Read transactions won't block write transaction if the InitialMmapSize is large enough to hold database mmap size. (See DB.Begin for more information)

If <=0, the initial map size is 0. If initialMmapSize is smaller than the previous database size, it takes no effect.

InitialMmapSize is referenced in 1 repository

github.com/boltdb/bolt