I have found that turning is the only solution for me. I have a pillow supporting my bump and keeping my knees separated to close to hip width and also have regular massages but still get the pain in the night. As my heartburn is sooo bad, I actually sleep half sitting up with 3 pillows creating a nice ramp. This eliminates the pressure you would normally get lying flat on your back and it quite comfy once you get used to it. No hip pain in this possie, just the feeling of wanting to curl up on you side every now and then!