I know of a few things that are the cause of leg cramps. Dehydration, low Potassium, pressure of the nerves to the legs and lower abdominal gas pressure. I would try drinking plenty of water, eating Potassium rich foods like Bananas, Oranges, Apricots, Avocado, Strawberries, Potatoes,Tomatoes, Cucumber, Cabbage, Cauliflower, Cantaloupe, Chard, Bell pepper, Eggplant, Squash, Crimini mushrooms, Brussels sprouts, Turmeric, Parsley, Spinach, Broccoli, Tuna and Halibut. And see a Chiropractor to see if your back needs adjusted to take pressure off a pinched nerve. If you have lower abdominal gas, take Gas X or an equivalent. If these do not work. See a physician, there is always the change these could be symptoms of something else.