Use recurrence type limits to impose a maximum end date and prevent memory allocation errors.