### Correcting Page Space Errors During Compilation

If the AIX operating system runs low on paging space during a compilation, the compiler issues one of the following messages:

>     1501-229 Compilation ended due to lack of space.

>     1501-224 fatal error in ../exe/xlCcode: signal 9 received.

If lack of paging space causes other compiler programs to fail, the following message is displayed:

>     Killed.

To minimize paging-space problems, do any of the following and recompile your program:

- Reduce the size of your program by splitting it into two or more source files
- Compile your program without optimization.
- Reduce the number of processes competing for system paging space.
- Increase the system paging space.

To check the current paging-space settings enter the command: lsps -a or use the AIX System Management Interface Tool (SMIT) command smit pgsp.