Hi tokola,
Thank you for your query, I will do my best to help you.
I grasp that you system hangs and becomes unresponsive. You also experienced unpredictable behaviour. There is a bios update to resolved this issue. HP Notebook System BIOS Update (Intel Processors). You can get the download from the following link.
I understand that your system hangs and does not respond. You are also experiencing unpredictable behaviour.
There is a bios update to resolve these issues. Here is a link to get the bios update.HP Pavilion dv7-1030ev Entertainment Notebook PC Drivers. Here is a document to help with Updating the BIOS.
Here is another link you may find useful Improving System Performance without Adding Memory (Windows 7)