back & leg cramps

Hi I have a difficult time getting to sleep & staying asleep, wake up every 1hr to 1 1/12hr I’ve tried pillows under my legs, I am at my wits end!!!

I suffer with back and or leg cramps, I take calcium/magnesium. eat bananas, take CALM before bed does anyone know anything else I could try