Weight gain during pregnancy

Ugh! I’m 32 weeks and so far I’ve gained 44 pounds 😭 I feel like a fatass now that I went to the doctor and she basically told me I’ve gained too much weight and I could be putting baby at risk. Anyone else gain a lot of weight? I’m so sad now