Cramps during exercise might be an outcome of over-excited nerve endings, probably as a result of fatigue. Studies of triathletes and ultramarathon runners have actually discovered that those who cramp throughout a race tend to be racers who bolt from the start, setting an early rate that is much faster than their typical training speed, inviting fatigue. They likewise frequently have a history of the condition, recommending that when a muscle cramps, it is primed to repeat the convulsions.
Source