Article ID: 839136 - Last Review: October 18, 2005 - Revision: 2.1

FIX: Your Visual C++ 6.0 application may stop responding after an extended period of time when you compile and release it in debug mode

Expand all | Collapse all

SYMPTOMS

When you compile and then release your Microsoft Visual C++ 6.0 application in debug mode, the application may stop responding (hang) after an extended period of time.

Note If you compile your application in release mode, this problem does not occur.

CAUSE

This problem occurs when your application frequently allocates memory and then frees memory. In debug mode, the debug heap is limited to 0xFFFFFFFF memory allocations (32 bit integer). Therefore, when this limit is reached, the DebugBreak function is called and your application stops responding.

RESOLUTION

To resolve this problem, obtain the latest service pack for Visual Studio 6.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
834001  (http://support.microsoft.com/kb/834001/ ) List of bugs that are fixed in Visual Studio 6.0 Service Pack 6

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Microsoft Visual C++ 6.0 Service Pack 5
Keywords: 
kbbug kbfix KB839136
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations