My Computer Freezes Randomly

Mar 27, 2014
5
0
4,510
Hi first of all im new to this site dont know where to post .. :)

My problem is my computer freeze randomly, when watching youtube,facebook,in game, and even without doing anything..

First i have a computer running a Windows xp , intel pentium 4 3.06 ghz without a videocard..
but it dont freeze even this is slow

Then when i reformat it , i change its Os to windows 7 ultimate, intel pentium 4 3.06ghz with nvidia 8600gt . i can play games but it lags but it dont freeze.

Then i change the OS again to windows xp sp3, change the processor to intel pentium 4 3.20ghz and same video card .
alas! my games boost and better frame rates and ping . but it now freezes randomly


what is the problem of my pc. processor? memory? or Videocard?

my specs
w 7
intel pentium 4 3.20
nvidia geforce 8600gt
2 gb ram

thnx is advance