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

This article has been archived. It is offered "as is" and will no longer be updated.
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
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 Description of the standard terminology that is used to describe Microsoft software updates
VC++
Properties

Article ID: 839136 - Last Review: 12/08/2015 06:44:47 - Revision: 4.0

  • kbnosurvey kbarchive kbbug kbfix KB839136
Feedback