fatal error C1076: compiler limit : internal heap limit reached; use /Zm to spec

02/14/2013 21:14 .SnoX#1
Tadaa, hab ein kleines Problem, was mich echt ankotzt..

Es geht um den Heap limit von vs2003 den ich gerne über die /zm Option erhöhen möchte, geht nicht darum das ich nicht lesen oder googeln kann, sondern vielmehr um die Umsetzung dieses Problems.

Hier einmal ein kleiner Ausschnit:
Quote:
In prior versions of Visual C++, the compiler used a number of discrete heaps, each of which has a finite limit. The compiler now dynamically grows the heaps as necessary, only requiring a fixed size for the memory allocated to the precompiled header. Exceeding precompiled header's heap size limits occurs only in rare circumstances involving very large or very complex programs. Should your program exceed these limits, use /Zm to scale the total size of all of the limits.

Note In most cases, use of this compiler option is not necessary. Use it if compiling your program causes error message C1076.

To set this compiler option in the Visual Studio development environment

Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
Click the C/C++ folder.
Click the Command Line property page.
Type the compiler option in the Additional Options box.
Gesagt getan habe dies gemacht habe dort schon /zm200 bis hin zu /zm2000 eingegeben, doch er ignoriert es, und am Ende folgt wieder diese gleiche Fehlermeldung.
02/15/2013 12:04 Mognakor#2
Leerzeichen zwischen /zm und dem Parameter
02/15/2013 14:27 .SnoX#3
Quote:
Originally Posted by Mognakor View Post
Leerzeichen zwischen /zm und dem Parameter
Hehe jaja, neh aber wird ebenso ignoriert.

Quote:
cl : Command line warning D4002 : ignoring unknown option '/zm'
cl : Command line warning D4024 : unrecognized source file type '2000', object file assumed
cl : Command line warning D4027 : source file '2000' ignored
02/15/2013 14:55 yannick2008#4
Quote:
Originally Posted by .SnoX View Post
Hehe jaja, neh aber wird ebenso ignoriert.
/Zm2000

Case Sensitiv
02/15/2013 15:28 .SnoX#5
Quote:
Originally Posted by yannick2008 View Post
/Zm2000

Case Sensitiv
Hab doch schon ebenso geschrieben, naja habs aber noch ein mal probiert. :p

Quote:
cl : Command line warning D4002 : ignoring unknown option '/zm2000'
02/15/2013 15:49 yannick2008#6
Quote:
Originally Posted by .SnoX View Post
Hab doch schon ebenso geschrieben, naja habs aber noch ein mal probiert. :p
Das Z muss groß´sein das m klein :S
02/16/2013 16:47 .SnoX#7
Quote:
Originally Posted by yannick2008 View Post
Das Z muss groß´sein das m klein :S
Hat geklappt danke, was die Groß und kleinschreibung so bewirken kann.

Hab allerdings ein weiteres Problem, da es ja vorher ging folgt jetzt dieser Error:

Quote:
error result returned from 'link.exe'.
Quote:
error PRJ0002 : error result returned from 'link.exe'.
.. Könnte wieder kotzen xD