Bad leg cramps😫

Hey everyone💙 I'm 39 weeks ftm and I have been getting the WORST cramps in my inner left leg only, around the groin area .. its been going on for the past month.. It comes at random and is so bad that if I'm standing, my leg gives out, and I'll have to grab onto something so I don't fall😥 my doctor told me last appointment it's just because the baby has dropped, but should it be so bad that my leg gives out and should it be so very painful?? Just worried something might not be right, but anyone else experienced this at all??