or you could have memory issues. These are the three things I would look into. When it freezes, put your finger by the cpu and judge if you think its running to hot. An aftermarket HS and fan could solve the problem for a low cost. Check it out and let us know!!
A+, Network + , HP Certified Tech and MCP
Specs: AMD Phenom II X6 1095T, Asus M477TD, 8GB GSkill Ripjaws DDR3 1600 7-8-7-24 1T, 128GB Crucial M4 SSD, ATi HD4650, W7, 27" HL272 Monitor