Purge in-memory log when install snapshot is done