I agree that eating regularly helps this. When recovering from anorexia I would cycle through periods of bingeing and restricting. For me it also helped to incorporate protein and/or healthy fat into my meals. These helped keep my blood sugar stable I think, and keep the urges to binge at bay. Eating healthy snacks helped me, too.