"Out Of Memory" During CHAIN Using Large COMMON Block (38276)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
This article was previously published under Q38276 SUMMARY
The two programs shown below demonstrate that a program can run out of
memory when CHAINing to another program if there is insufficient
memory to copy the COMMON data. If run from within the QB.EXE
environment, the error is simply "Out of memory," while the error
message "Out of memory during chain" is produced when the programs are
run as .EXE programs. To solve the error, you must use a smaller
COMMON block.
This information applies to QuickBasic Versions 4.00, 4.00b, and 4.50,
and Microsoft Basic Compiler Versions 6.00 and 6.00b for MS-DOS and MS
OS/2.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB38276 |
---|
|