BUG: Memory Leak in Visual C++ Integrated Debugger

ID: Q221911


The information in this article applies to:


SYMPTOMS

The Windows NT Task Manager shows an increase in memory usage every time the Visual C++ integrated debugger is started using F5 and then stopped. When the system exhausts the virtual memory limit, the application and debugger crashes displaying the following 3 message boxes:


RESOLUTION

The memory can be freed before the system runs out of virtual memory by closing the Visual C++ IDE.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a default MFC application using the AppWizard and build it.


  2. Start Windows NT Task Manager, click the Performance tab and watch MEM Usage.


  3. Start the integrated debugger by pressing F5.


  4. Note MEM Usage.


  5. Stop the debugger.


  6. Repeat steps 3-5.


NOTE: Mem Usage has increased by quite some amount. If the virtual memory limit is reached then the errors messages described above are seen.


REFERENCES

(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Vidyanand N. Rajpathak, Microsoft Corporation.

Additional query words:


Keywords          : kbDebug kbide kbVC600bug kbVS600 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: June 8, 1999