Had this and cramps with DS and it is awful so poor you. Elevating legs when on sofa helps or tucking a cushion behind your knees and knees up to chest. Have a bannana a day and I bought a small heat pad from Boots that you plug in and have it by my calves in bed so when I get cramp it takes seconds to heat when you turn it on but you can wrap it around your leg which really helps. It does go eventually so good luck.
I think you'll find magnesium/potassium are usually the problem but I'm not that keen on supplements as it's difficult to know how much your body needs but the following things help me and some it will make me sound like a hippy - drink another glass of water. - wear red or orange, may sound silly but colour therapy can really help. red is apparently associated with potassium and orange magnesium. but if you don't like the colours don't wear them! - buy a natural body brush from boots or somewhere like that, brush in upward directions from your feet all the way up your legs and thighs. you can also do this with your arms from your hand up to your shoulder. really helps circulation. always direct to the heart - massage, use a natural massage oil or just soap in the bath. - sometimes massaging your bum cheeks (!) or your thighs can relieve the pressure in your lower legs. xxx
I used to get restless legs before my pregnancies and still do now occasionally, although haven't had it in a while possibly due to my increased consumption of G&T
For me the guaranteed fix is a leg and foot massage - starting just below the knee and gradually working down finishing on the toes (chases the twitchiness out!)
DH is usually fairly obliging but does get a little about whether I actually have it sometimes. The fact that he started questioning my leg twitchiness is what led me to Google it and discover it's a real syndrome with a name and everything.
ditto to magnesium, potassium is found in bananas. if you are lacking these minerals you may also find you get cramps in your legs aswell. i take 450mg magnesium citrate every night before bedtime, even before i got pregnant i was taking it.