That happens to me too if I eat too much before sleeping, especially from things like ice cream. I just avoid eating within a few hours of going to sleep. Despite all the advice to eat before bed to gain faster, you will still get fat regardless of when you eat, if you eat enough.
6 years