I had exactly the same problem with my PC running XP about 18 months ago. I also thought it might be heat related, until I proved it wasn't. I tried everything until I finally got totally frustrated and found a permanent cure.
The new PC running Windows 7 is much more stable and is a lot quicker.
Yes, I treated myself to a new one.