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 was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
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.
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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
Description of the standard terminology that is used to describe Microsoft software updates
Article ID: 839136 - Last Review: 12/18/2012 01:30:00 - Revision: 4.0