Hi willie,
You can try the following if you have a roughly fixed number of keys.
new StaticDataStore(path,
1000000, /* capacity 1Million */
1000, /* updateBatchSize */
5, /* numSyncBatched */
64, /*segmentFileSizeMB */
new MemorySegmentFactory())
Thanks.
-jingwei