Every now and then my iMac G5 is prompted me to restart it. This happens someime during the sleep mode. While in sleep mode, I hit the space bar to wake the iMac and there is message that I need to restart the iMac. It tells me to hold down the power button for a few seconds and restart the machine. What is causing this to happen?