Hi.
The fault could be one of many things. Could be a memory fault - if you run a memory test this should indicate if this is the problem. Another issue could be overheating caused by a faulty fan or heatsink. There may also be a motherboard fault resulting in the intermittent problem