The information in this article applies to:
SYMPTOMS
An application runs as expected outside of the debugger but causes an application error like this when run in the debugger: Another symptom appears if the reserve value specified for the HEAP linker option is smaller than the commit value: The reserve value is silently increased to the commit value. CAUSEThe heap reserve size is smaller than the commit size. This means that applications that rely on these values (such as the debugger) are not able to load the binary image. RESOLUTIONThe heap reserve size should always be greater than or equal to the commit size. The linker provided in Service Pack 3 checks these values. If the reserve value is less than the commit value, the linker generates a fatal error. For example, linking with the option /HEAP:0x400,0x1000 causes this error:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why MORE INFORMATIONTo view the reserve and commit values for an executable, use the dumpbin utility: dumpbin /headers filename.exe Additional query words:
Keywords : kbservicepack kbVC600 kbVS600sp2 kbVS600SP1 kbVS600sp3fix |
Last Reviewed: May 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |