Program not responding and computer freezing can be attributed to devoid of CPU or RAM resources. If one program can not obtain sufficient resources, it will stops responding.
Resources are always inadequate. The capacity of your computer CPU and RAM is given. If the hardware resource is fairly distributed to all programs, they can run smoothly. But the problem is that mal distribution of resources always exists.
When some programs take up too much resources and a program can not acquire enough resources, this program will not be able to work properly and stop responding. And when there are too many programs running at the same time, the CPU or RAM Usage reach 100% and no more resources can be distributed to each program, computer will probably encounter freezing.
There are two ways to solve the program not responding and freezing problem. One is to upgrade computer hardware. Change existing CPU for one of higher Hz or dual CPU. And upgrade your RAM to 2GB, 4GB or higher one. Then the computer has enough resources for all software.
The second method is to optimize the system and make the resource distribution fair and proper. When Windows runs over time, it is stuffed with junk files and registry keys are missing or corrupted. Too many junk files will take up hard disk space and RAM. It is necessary to clean up them regularly to free disk space and save RAM.
Another factor is the registry. Registry is the database that stores settings and information for hardware, operating system software, and non-operating system software. The settings and information is packed in registry keys which are vital to Windows system, software and drivers. Windows system need access to the key value before alloting resources to programs. Furthermore, software and drivers also needs the data to run stably.
When some data is damaged, the programs and drivers will not be able to work and system can not allot resources fairly to each programs. That is why you frequently have program not responding, screen freezing, blue screen and blank screen of death.