Body can only consume X amount of calories from the food you eat every day (just like any other process/machine it has its upper limit), and the rest will be thrown out without being digested. That's why short bursts of high calorie intake won't result anything more than the X amount. However reaching that upper limit everyday will add up to weight gain.