The way to avoid this happening is easy; you eat small healthy meals 4 or 5 times a day and log them all down in your exercise journal. (unique-bodyweight-exercises.com)
If you eat 5 - 6 small healthy meals everyday you have a better chance of losing weight faster than you did when you tried starving yourself. (justinkavanaghfitness.com)
Eat several small healthy meals at your desk. (slaw.ca)