Was it the motor or ESC?
I think the 30 amp ESC was a bit low for this setup. What prop were you using?
Here is a link to an online calc tool for electric motors.
http://www.ecalc.ch/motorcalc.htm?ecalc&lang=en
May have had a little to much prop on it. Do you have a watt meter?
http://www.hobbypartz.com/aeo-p0-watt-meter.html
I have let the magic smoke out a few to many times, so I can relate to your feelings.
Buzz.