+1 on the calcium, magnesium and potassium.

One way to lesson the severity of the cramp is to gently bite your lower lip. Sounds weird but it helps.
_________________________
If I wouldn't eat it at home, why would I want to eat it on the trail?