You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set compaction threshold on the map creator to trigger automatic compaction when cleared space reaches certain level of the allocated space (20% in the below example): .expireCompactThreshold(0.2)
Expected: size of DB file should go back to 2 MB
Expected: Size of DB file stays at 10.0 MB
=========================================================================
Sample code to reproduce:
public static void main(String[] args) {
File file = new File("myMapDB.db");
=========================================================================
Output
File Size Before Insert=2097152, No of Entries=0
File Size After Insert=10485760, No of Entries=1000
File Size After Delete=10485760, No of Entries=0
The text was updated successfully, but these errors were encountered: