FIX: Results List Uses 100% of CPU on Idle

Last reviewed: December 19, 1997
Article 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:

   ARTICLE-ID: Q170365
   TITLE     : 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 : VS97FixlistSP2 VS97FixlistSP3
Technology : kbInetDev
Version : WINDOWS NT:5.0,97
Platform : NT WINDOWS
Issue type : kbbug
Solution Type : kbfix kbservicepack


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 19, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.