Flush on-disk dictionary on low-memory environments before running