Fatal Error C1060
compiler is out of heap space
The operating system or the run-time library was unable to fill a request for more memory.
Tips
- Increase the Windows swap-file space. For more information about increasing the swap-file space, refer to Help (in Windows 95) or Control Panel Help (in Windows NT).
- Close other programs running in the system; these could be consuming significant amounts of memory.
- Simplify the program:
- Eliminate unnecessary include files, especially unneeded #defines and function prototypes.
- Eliminate some global variables. For instance, use a pointer to allocate memory dynamically, at run time, instead of declaring a large array.
- Eliminate unused declarations.
- Split the current file into two or more files and compile them separately.