Hi David,
This depends on which DataStore and Segment you are using.
For both StaticDataStore and DynamicDataStore, if MemoreSegment is
used, keys and values must fit into main memory.
For IndexedDataStore, you can specify which SegmentFactory is used for
index and store separately. If MemorySegmentFactory is used for index
and WriteBufferSegementFactory for store, then only keys are required
to fit into main memory.