@ferrybig/cgeodata-reader
    Preparing search index...

    Tuning for buildLocateIndex; the output doesn't depend on it.

    interface BuildLocateIndexOptions {
        batchRecords?: number;
    }
    Index
    batchRecords?: number

    Roughly how many records to hold in memory at once. Countries are processed in batches whose records add up to about this many (a single country bigger than this is its own batch), and every chunk a batch touches is decoded once per batch. At ~9 bytes a record plus sort buffers, the default keeps the builder under a few hundred MB.