I am experiencing the same problem at first i thought its my code so i tried blink led code attached to pin 13 it blinks after some few minutes it then stuck on or off till i press reset button on arduino board it blinks again n freezes over n over againThere could be any number of reasons why an MCU freezes:
1) Noisy or unstable power supply
2) Inadequate power supply decoupling
3) Over or under voltage on any I/O pin that triggers CMOS latchup
4) Faulty system clock
5) Faulty RESET or brown-out detection
6) Bad programming
7) Unstable hardware
8) Extremely harsh electrical environment
Judging from your code, you are using servo motors. This puts the application in category (8).
Moderator edit: New thread created from this.