Along with leg cramps I (way post menopausal) experience the return of visual migraines which I had only had around the time of the menopause. Disappeared after taking magnesiom.
I believe a magnesium deficiency can also cause heart attacks