MEMORY | NOMEMORY
Category
Compiler customization
Pragma equivalent
None.
Purpose
Improves compile-time performance by using a memory file in place of a temporary work file, if possible.
Syntax
Defaults
MEMORY
Usage
This option generally increases compilation speed, but you may require additional memory to use it. If you use this option and the compilation fails because of a storage error, you must increase your storage size or recompile your program using the NOMEMORY option. For information on how to increase storage size, see Setting the region size for z/OS XL C/C++ applications.
IPA effects
The MEMORY option has the same effect on the IPA link step as it does on a regular compilation. If the IPA link step fails due to an out-of-memory condition, provide additional virtual storage. If additional storage is unavailable, specify the NOMEMORY option.
Predefined macros
None.
Related information
See the z/OS XL C/C++ Programming Guide for more information on Performing memory file and hiperspace I/O operations.