That's was not I was looking for
This is the thing with Intel P4 (I know U using P3)
I have the same problem when I started a big app the computer hangs or restart and so on. For my self it's came out a pip out for the speakers.
I found out that my FAN was not working good. P4 has over heating protection so I'm lucky that's it's still works. But after a year and or more I change the fan. And the computer works fine!
Download a temp program that's can check what heat the CPU have. That's my tip