The less amount of flour used, the better the gnocchi. Always make the dough with still-warm potatoes as this will encourage the egg to bind the dough. In addition, never dump the entire amount of flour into the mashed potatoes, but gradually add it in. You want enough flour to hold the dough together, but not so much to cause the gnocchi to become heavy.