Arduino hangs at startup

I have connected nine onewire temperature sensors to arduino uno (ds18b20 sensors) and I show results in lcd display. Sensors are separately in digital inputs, because I use old wires and I try to avoid star-topology network.

Sometimes Arduino hangs at startup and I have to reset Arduino. Can memory be full? Can I reset Arduino in code at startup?

Which digital inputs did you use? and how have you wired the "onewire" sensors.

I used digital inputs 3-7 and 9-12. And I wired sensors like in this tutorial below. I used 4.7k resistors.

http://www.hacktronics.com/Tutorials/arduino-1-wire-tutorial.html

mikkom:
I used digital inputs 3-7 and 9-12. And I wired sensors like in this tutorial below.

Perhaps you had better try drawing a picture of that