Virtual memory shortages when COBOL programs are executing may be caused by one of the causes listed below. Review the environment and program structure at the time of the memory shortage, and apply the appropriate remedy.
Too little installed memory.
Extend the memory if needed.
Too little virtual memory.
Increase the space available for virtual memory.
Other applications executing at the same time are consuming the available memory.
Stop one or more of the other applications.
Too many files open at the same time in the execution unit.
Too many data items or file declarations use the EXTERNAL phrase in the execution unit.
Too many objects (instances) are used simultaneously in the execution unit.
An executed application damaged a memory area.
Search for the cause of the area damage by using a debugger, the CHECK function, or the memory check function, and correct the program.