Patients ask me all the time what to do about their leg cramps. Barring any major electrolyte imbalance, there really is no good answer why this happens or what to do about it. This article from the SCOPE Blog sympathizes with this issue. I used to recommend a glass of tonic wather, but as they say,
Forget about quinine water. You’d have to drink a few liters of it to get any efficacy for muscle cramps, and by the time you were done you’d probably have cramps in another important organ.
As for all the patients who claim that putting a bar of soap under the sheets at the bottom of the bed, no idea why this helps but I can’t see how it would hurt, so feel free to try it and report back!