Microsoft KB Archive/10771

“Insufficient Memory for Program” Error When CALLing, CHAINing

PSS ID Number: Q10771 Article last modified on 06-13-1990

2.00 2.10 2.20 | 2.10 2.20 MS-DOS | XENIX

Problem: I have a program that makes repeated CALLs and CHAINs to various COBOL subprograms. After executing the series of CALLs and CHAINs a number of times, I receive an “Insufficient memory” error message. This occurs in Microsoft COBOL Versions 2.00, 2.10, and 2.20 for MS-DOS and in Microsoft COBOL Versions 2.10 and 2.20 for XENIX.

Response: An application note titled “COBOL 2.x Memory Fragmentation,” which contains information regarding this problem, can be obtained from Microsoft Product Support Services by calling (206) 454-2030.