Cramping in legs at night

Erin
Can anyone recommend something to help the cramping in my legs at night? I can't sleep because every time I try to move I get a cramp or worse a Charlie horse in my calf and/or thigh. I've tried getting more Calcium and I've tried stretching before bed, neither have helped.