Ensure MemoryMappedFileLog does not read too many entries in getEntries.