Topic: VC++ compiler question: internal heap limit reached  (Read 8024 times)

0 Members and 1 Guest are viewing this topic.

Offline FPF-SCM_TraceyG_XC

  • Empress of the Empire
  • Commander
  • *
  • Posts: 2543
  • Gender: Female
VC++ compiler question: internal heap limit reached
« on: December 07, 2004, 07:34:03 am »
I get the following error message:

"C:\SFC2 Scripting Development\OP API - R2.2\Scripts\Meta\Met_TGConvoyRaid\MissionMaps.cpp(78266) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit"

How do I increase the heap limit? (where do I use /Zm)

Thanks for any help in advance.
Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore

Offline FPF-SCM_TraceyG_XC

  • Empress of the Empire
  • Commander
  • *
  • Posts: 2543
  • Gender: Female
Re: VC++ compiler question: internal heap limit reached
« Reply #1 on: December 07, 2004, 08:08:31 am »
Ok, I figured out how to increase the heap size, but now I get the following warning:

"C:\SFC2 Scripting Development\OP API - R2.2\Scripts\Meta\Met_TGConvoyRaid\MissionMaps.cpp(97015) : warning C4049: compiler limit : terminating line number emission"

The script still compiles though, does this matter?
Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore

Offline FPF-SCM_TraceyG_XC

  • Empress of the Empire
  • Commander
  • *
  • Posts: 2543
  • Gender: Female
Re: VC++ compiler question: internal heap limit reached
« Reply #2 on: December 07, 2004, 08:31:56 am »
Ok, apparently VC++ doesnt number lines when they go over 64,000 lines of source code in one file... but will happily continue compiling anyway so the warning is largely useless and makes no difference.

Good, I'm glad I cleared that up.

64,000 lines of source code??  ::)
Captain FPF-TraceyG, Federation Protection Fleet


SFC2.net Admin member
SFC3.net Admin member
Voting member of the DGA
Member of XenoCorp, Squadron Commodore

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: VC++ compiler question: internal heap limit reached
« Reply #3 on: February 03, 2005, 12:25:13 am »
Ok, apparently VC++ doesnt number lines when they go over 64,000 lines of source code in one file... but will happily continue compiling anyway so the warning is largely useless and makes no difference.

Good, I'm glad I cleared that up.

64,000 lines of source code??  ::)

And one page!  :o
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista