Right now it's not freed, which is why I said above the `maxKeysInMemory` usage is currently very limited. You could work around this though, by adding a step to `purgeInternal` to see if `maxKeysInMemory` > 0 and scan the file to see if there's any file entries which are not pointed from the in-memory index, and if not free the space.