嚴重錯誤 C1002Fatal Error C1002

編譯器於第二編譯階段堆積空間不足compiler is out of heap space in pass 2

在其第二個階段,可能是因為太多符號或複雜運算式的程式編譯器動態記憶體空間不足。The compiler ran out of dynamic memory space during its second pass, probably due to a program with too many symbols or complex expressions.

使用下列可能的解決方式來進行修正To fix by using the following possible solutions

  1. 您可以將原始程式檔分成數個較小的檔案。Divide the source file into several smaller files.

  2. 分成較小的子運算式的運算式。Break expressions into smaller subexpressions.

  3. 移除其他程式或驅動程式所耗用的記憶體。Remove other programs or drivers that consume memory.