Microsoft KB Archive/171845

= FIX: Results List Uses 100% of CPU on Idle =

Article ID: 171845

Article Last Modified on 6/6/2001

-

APPLIES TO


 * Microsoft Visual Studio 97 Service Pack 3
 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 5.0 Professional Edition
 * Microsoft Visual InterDev 1.0 Standard Edition
 * Microsoft Visual J++ 1.1 Standard Edition

-



This article was previously published under Q171845



SYMPTOMS
When you do a search and then select an item toward the end of a large search Results List, many subsequent activities will be slowed noticeably. For example, typing response in the Developer Studio Editor may be slowed by a second or more.

The performance tab in the Windows NT Task Manager can show 100% CPU usage when you would expect little activity.



CAUSE
On-idle processing is being used to determine when to enable or disable the next/previous button in the Results list. This problem becomes most noticeable when there are several thousand items in the Results List and one of the last items is selected.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual Studio 97 Service Pack 2.

For more information on the Visual Studio 97 Service Pack 2, please see the following article in the Microsoft Knowledge Base:

170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why



Steps to Reproduce Behavior
In Developer Studio:


 * 1) From the Help menu, select Search and do a query on "Windows."
 * 2) When the Results List appears (this may take a while), select the last topic.
 * 3) In Windows NT, bring up the Task Manager and select the Performance tab.
 * 4) In Developer Studio, open a text file and type in some text.
 * 5) Note that at every pause in your typing, on-idle processing will start and can delay processing of your next keystroke by over a second.

Additional query words: MSDEV.EXE responsiveness

Keywords: kbbug kbfix kbvs97sp2fix KB171845

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.