Weight gain

I am 32 weeks and 6 days pregnant. Every time I go to the doctor he makes me feel horrible about my weight. I gained 18 lbs all together.. Then I lost 4. So that's 14 lbs in all. I don't feel like it should be that serious, but he makes me feel huge.