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.
C1059
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Fatal error C1059
 
     compiler is out of near heap space
 
     The compiler ran out of storage for items that it stores in its
     near (default data segment) heap.
 
     One of the following may be a solution:
 
        ■ Eliminate unnecessary include files, especially unneeded
          function prototypes.
 
        ■ Split the function at the given line number into two or
          more functions.
 
        ■ Split the current file into two or more files and compile
          them separately.
                                    -♦-