Limit weight gain?

Y

On my last appointment one of my dr said that I've almost reached the weight that im supposed to gain the whole pregnancy and i still have two more months. So far I've gained 30lbs and i guess the limit is 35. She told me to try slowing it down. Well ever since i no longer eat any candy/snacks. And i stopped eating after 10pm... which is hard because my SO gets home at 1am and brings food. I wait for him so by then im super hungry. I also go swimming almost everyday for an hour.

Glocouse test was done that same day but haven't heard anything...assuming it was normal.