Reduce memory footprint
tabokie opened this issue · 0 comments
tabokie commented
Memtables can take up a lot of memory when log entries are not compacted in time.
- Add memory tracing
- Reuse file block handle for entry indexes inside the same log batch.
- Change entry offset and entry length to
u32
- Store entry offset in file instead of in memory
- Implement a mmap-based allocator for memtable