I would like to be able to evict an item (or at least its value) from memory.
Reopening a database as advised in https://github.com/steveyen/gkvlite/issues/4#issuecomment-56056262 is suboptimal, as it introduces long pauses and memory usage is still rather high, because items are stored in memory all the time until I call Write, Flush and reopen the database.
I would like to be able to evict an item (or at least its value) from memory. Reopening a database as advised in https://github.com/steveyen/gkvlite/issues/4#issuecomment-56056262 is suboptimal, as it introduces long pauses and memory usage is still rather high, because items are stored in memory all the time until I call
Write
,Flush
and reopen the database.Can you provide the following methods, please?
I would call one of them after I call
Set
orGet
to reduce memory usage.