I used to get leg cramps that would wake me up in the middle of the night, the only thing that stopped them was standing up and stretching out the muscles. I would get them now and then while watching t.v., I get them in my hands after a day of working with my hands like on my old Ford or a heavy day at the range. Immediate relief comes from a good slug of Tonic Water, its the Quinine. They used to sell it over the counter at drug stores and women used it for menstrual cramps and it works like magic for some. You have to get the good stuff with Quinine in it, I keep a jug in the fridge...doesn't take a lot, sip a glass of it.
For those of us a bit longer in the leg cramps are fairly common. Stay hydrated...stay hydrated....stay hydrated. As big a pain as it is drink a large glass of water before going to bed, its good for your heart too. You will get up in the middle of the night, OK.
I learned about Calcium/Magnesium from a naturopath. He recommended a product called CALM, follow the instructions, this will include your large glass of water at bedtime. Works for me, rarely do I get leg cramps anymore.
I can't stress how important staying hydrated is, if you find yourself thirsty its your system screaming out for water...just water, not tea, coffee, beer, etc. water...H2O. Take your body weight, divide it by 2 and convert that figure into ounces...thats how much water you should drink in a day, its a ton if your not used to drinking water. If you drink that much water in a day I guarantee you will not be as hungry as you think you are. I fail on most days, its a goal not an order...try it. You can't truly substitute all the other drinks because they have stuff that actually works against the water and dry you out.
Enough out of me....I gotta go pee....