I did, especially if I drank red wine or let my feet get cold in bed (I have a habit of kicking the covers off my feet in my sleep). My diabetic nurse said it could not be related to any of the meds I take, but I never had it before I took them. I've recently changed my statins and don't seem to have them at the moment. I will remember about the magnesium and try that if they come back.