Microsoft KB Archive/113969

{|
 * width="100%"|

"Could not Load Debugee, Windows is Out of memory (1)"

 * }

Q113969

-

The information in this article applies to:


 * The Visual Workbench Integrated Debugger, used with:
 * Microsoft Visual C++

-

SUMMARY
The integrated debugger in Visual C++ 1.50 uses a DLL (TLW0NCL.DLL) that is unecessarily allocated in low memory (below one meg) and fixed there. This uses a valuable system resource that should be available for other applications.

The most common behavior is the appearance of a message box containing this error message:

  Could not load debugee. Windows is Out of Memory (1)

This occurs when trying to run an application in the Visual Workbench debugger. One reason this can occur is because all of the memory below one megabyte is full. Typically, this will happen when many drivers are loaded, such as network or SCSI drivers. Microsoft has released a patch to Visual C++ 1.5 which will allow the DLL for the debugger to load where Windows has room. This patch will modify the Visual Workbench 1.50, the new one will be version 1.50.01.

The following files are available for download from the Microsoft Download Center:

VC1501.exe

For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

"Q119591 How to Obtain Microsoft Support Files from Online Services" Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.

In addition, this patch will fix another problem with Visual C++ 1.50. The problem occurs when long strings are passed to OutputDebugString, or when OutputDebugString is called successively with no new-line characters. This may cause a general protection (GP) fault or cause the computer to hang (stop responding). For more information on this problem, query in the Microsoft Knowledge Base using these keywords:

  OutputDebugString and Workbench and patch

This patch should only be applied when one of these problems is specifically encountered. These are the only two changes to Visual C++, version 1.5.

MORE INFORMATION
Additional query words: GPF

Keywords : kbfile kb16bitonly kbDebug kbide

Issue type :

Technology : kbVCsearch kbAudDeveloper