in that case I think it could well be ram. If it was software you would get an application hang error telling you which piece of software was to blame. Dodgy ram is notorious for freezing systems as is heat and cpu problems. How many stick do you have in your machine>? I would download
memtest 86 (free download will be fine)and create a bootable cd and run full tests