I run into an interesting issue with esent regarding the file size. I am saving 1024 records, which should take roughly 1 MB.
However, the file size on disk is 32 MB, and the reported file size from esent is 17 Mb.
I have a full repro here, which shows the exact problem:
Any idea how to get the file size to something close to what we store inside it?