It happens to me too im 23 weeks , i asked my doctor n she said its normal, dat i should be stretchin my legs n toes before bed to make it better. N using pillows under your leg .
I have found that caffeine makes mine worse (even just a little bit). I stretch before bed to help it too.
Thats a sign of a calcium insufficiency.
My doc had told me baths could kead to bladder infection so to stay away from them also massaging the legs will make the cramps worse. try stretching before you go to bed eating bananas and stretching your toes up
Try calcium/magnesium supplements.
Restless leg syndrome? I have that. I take a warm bath nothing over 95. I heard it bad for the baby if ant hotteelr. Just warm bath and you sit in it for a little. It helps with my restless legs. It soothes your muscles