That sketch uses 1944 bytes of memory.
What are you using?
Why have you no capacitor across the LED strip?
It would also seem that you are trying to draw the power from the 5V line of the Arduino. That many LEDs take just under 39 Amps. The maximum you can draw from an Arduino's 5V line is less than 0.5 Amps.