Re: Application hangs for several seconds on idle CPU
Tech-Archive recommends: Fix windows errors by optimizing your registry
Found the cause of the problem: I was calling SetWindowPos to a window
within another thread (intentionally). When doing so asynchronously (using
the SWP_ASYNCWINDOWPOS flag), the application no longer freezes.
"Robert" <noone@xxxxxxxxxxx> wrote in message
news:eBLgJBzgGHA.3572@xxxxxxxxxxxxxxxxxxxxxxx
Hello folks,
I am trying to analyze a problem where my application will - for no
appearent reason - freeze for a few seconds on an idle CPU. It occurs when
I
switch from another application (it can best be reproduced when switching
from Remote Desktop Connection, sometimes it also happens with IE).
There's nothing special my application would do when it receives the
focus.
It is, however, a very large and resource-hungry beast, in case memory
management might play a role in this.
What I am looking for is simply some ideas how I might approach and
analyze
this problem. Any hints appreciated!
Thanks
Robert
.
Relevant Pages
- Re: Coding monsters and items
... you only have one special monster. ... With a flag, you ... the other places harder to analyze. ... decissions, and decissions are hard and often make you err. ... (rec.games.roguelike.development) - RE: Enter Parameter Value from adding a record
... Click on the menu TOOLS - Analyze - Documenter and select the forms your are ... Run and save to MSWord. ... > When I add a new record or scroll to the end of the records I get a window ... (microsoft.public.access.forms) - Re: need help with signal analysis!!
... I have an electric signal that I need to analyze. ... spectrogram of the data I get a good picture of what I want to see ... blurry section on a otherwise pure tone line). ... spectrogram window by window to detect something like this? ... (comp.soft-sys.matlab) - Re: Closing Running Programs (final)
... What I would do is create a log file and open it, write the window text, close it before each time you kill a window. ... Then analyze the log when it crashes your device and the last one on the log should be the culprit. ... Here's my solution based on all those resources and *still* sometimes my device crash. ... BOOL CALLBACK EnumAndKill(HWND hWnd, LPARAM lParam){ ... (microsoft.public.pocketpc.developer) - how long does analyze still need to run when it claims "Pass 4 of 4; 100% complete" ?
... i'm running analyze fix after locking out developers. ... the "Analyze Results" window shows a bunch of content in the main text part ... (microsoft.public.vstudio.sourcesafe) |
|