Why does my Samsung S4 keep switching off/rebooting itself?

A

AC Question

why does my samsung s4 keep switching off/rebooting itself?

I have the Samsung S4 (GT-I9500), and when I try to clear the Cache by shutting down the phone and restarting while holding the Power, Vol up, and the home buttons, I do end up on the recovery screen that allows me to select "wipe Cache partition", however once I select it, I briefly get "erasing", and then "error" and the phone boots up to home screen. Anyone else have the same issue? or know what the fix is??