次の方法で共有


Fatal Error C1060

  compiler is out of heap space

The operating system or run-time library cannot fill a request for memory.

Possible solutions

  • Use /Zm to increase memory allocation limit.
  • Increase the size of the Windows swap-file.
  • Close other running programs.
  • Eliminate unnecessary include files.
  • Eliminate unnecessary global variables. (For example, by allocating memory dynamically instead of declaring a large array.)
  • Eliminate unused declarations.
  • Split the current file into smaller files.