I did try taking magnesium- a few times over the years, but it gives me migraines. Like if I take it I wake up the next morning with a migraine. Which is considerably more painful than a leg cramp. Could look for foods with more of it, though, I guess. Good idea anyway, that is plausible.
Could be magnesium deficiency.
Apparently the link between magnesium deficiency and cramps is shaky.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8020016/
Huh, TIL.
I did try taking magnesium- a few times over the years, but it gives me migraines. Like if I take it I wake up the next morning with a migraine. Which is considerably more painful than a leg cramp. Could look for foods with more of it, though, I guess. Good idea anyway, that is plausible.
It might simply be over-exertion. I get cramps when I walk a lot. Maybe your resting position already includes tension in your calves?