FIX: Results List Uses 100% of CPU on Idle (171845)



The information in this article applies to:

  • Microsoft Visual Studio 97
  • Microsoft Visual Studio 97
  • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
  • Microsoft Visual C++, 32-bit Professional Edition 5.0
  • Microsoft Visual InterDev 1.0
  • Microsoft Visual J++ 1.1

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

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.

Modification Type:MajorLast Reviewed:6/6/2001
Keywords:kbbug kbVS97sp2fix KB171845