FIX: Results List Uses 100% of CPU on Idle

ID: Q171845


The information in this article applies to:
  • Microsoft Visual Studio 97
  • The Development Environment, included with:
    • Microsoft Visual Studio 97
    • Microsoft Visual C++, 32-bit Editions, version 5.0
    • Microsoft Visual InterDev, version 1.0
    • Microsoft Visual J++, version 1.1


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:

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


MORE INFORMATION

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 : kbVS97sp2fix
Version : WINDOWS:1.0,1.1,97; winnt:5.0
Platform : WINDOWS winnt
Issue type : kbbug


Last Reviewed: December 20, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.