Smart AIs have a shelf life of seven years before they start to malfunction and undergo rampancy. However, Cortana states that entering the domain cured her rampancy, since she now has infinite memory storage. However, you can still clearly tell that something is off with Her.