C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
C1002
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Fatal error C1002
 
     compiler is out of heap space in pass 2
 
     The compiler ran out of dynamic memory space during execution of
     the second pass of the compiler (C2.EXE). Usually this means the
     program has too many symbols and/or complex expressions.
 
     One of the following may be a solution:
 
        ■ Divide the file into several smaller source files.
 
        ■ Break expressions into smaller subexpressions.
 
        ■ Remove other programs or drivers running in the system
          that could be consuming significant amounts of memory.
                                    -♦-