What causes (not responding)?

glen

Lifer
Apr 28, 2000
15,995
1
81
It seems to frequently happen - the Window turns a sort of grey white and the cursor spins!
 

exdeath

Lifer
Jan 29, 2004
13,679
10
81
When the application is hung up in a way that doesn't allow the window message pump to empty it's message queue. This can be avoided by proper use of threading, but most applications work something like this:

loop forever until application closes
{

check for windows events

do application stuff

}

When it hangs in "do application stuff", the message queue for the window backs up and the app is "not responding". Most common reason is not enough disk IO or high CPU load and /or lack of threading.
 
Last edited:

glen

Lifer
Apr 28, 2000
15,995
1
81
So, how do I narrow down the cause or fix it?
I can open the resource monitor and seeit is normally something to do with InternetExplorer.
 

corkyg

Elite Member | Peripherals
Super Moderator
Mar 4, 2000
27,370
239
106
Sometimes it is just a matter of the user sending WE too many commands too quickly, and the processor gets bogged down with an "aw shit" moment. :)