<html>
Hi users,<br><br>
<br>
When compiling every program using VTK includes files (even vtk
examples)<br>
on microsoft Visual C++6, I have the following error message:<br><br>
-------------------------------------------------------<br>
c:\program files\microsoft visual studio\vc98\include\ostream(353) :
fatal error C1076: compiler limit : internal heap limit reached; use /Zm
to specify a higher limit<br>
Error executing cl.exe.<br><br>
<br>
About this message error, Visual C++ Help said:<br><br>
<font face="verdana" size=6><b>Fatal Error C1076<br>
</font><font face="verdana">compiler limit : internal heap limit reached;
use /Zm to specify a higher limit<br>
</b>The compiler ran out of storage for items that it stores in its heap.
Usually this is the result of having too many symbols.<br>
One of the following may be a solution: <br>
</font><font face="Symbol">·<x-tab> </x-tab></font><font face="verdana">Use
the
</font><font face="Symbol">·<x-tab> </x-tab></font><font face="verdana" color="#0000FF"><u>/Zm</u></font><font face="verdana">
compiler option to set the compiler's memory allocation limit.<br><br>
</font><font face="Symbol">·<x-tab> </x-tab></font><font face="verdana">Simplify
the program: <br>
</font><font face="Symbol">·<x-tab> </x-tab></font><font face="verdana">Eliminate
unnecessary include files, especially unneeded <b>#define</b>s and
function prototypes.<br><br>
</font><font face="Symbol">·<x-tab> </x-tab></font><font face="verdana">Eliminate
some global variables. For instance, use a pointer to allocate memory
dynamically, at run time, instead of declaring a large array.<br><br>
</font><font face="Symbol">·<x-tab> </x-tab></font><font face="verdana">Eliminate
unused declarations.<br><br>
</font><font face="Symbol">·<x-tab> </x-tab></font><font face="verdana">Break
up very large functions into smaller ones.<br><br>
</font><font face="Symbol">·<x-tab> </x-tab></font><font face="verdana">Break
up very large classes into smaller ones.<br><br>
</font><font face="Symbol">·<x-tab> </x-tab></font><font face="verdana">Split
the current file into two or more files and compile them separately.
<br>
<b>Note</b> If you get this error message immediately upon starting the
build process, you have probably specified too high a value for /Zm,
given the specific details of your program. Change the /Zm value to a
lower one and re-run the build. <br><br>
</font>---------------------------------------------<br><br>
<br>
It worth almost nothing to change the Zm value as it change from one
program to another.<br>
This error comes probably from the headers file includes......<br><br>
Does somebody have an idea?<br><br>
thanks in advance,<br><br>
Arsene<br><br>
<br>
<x-sigsep><p></x-sigsep>
Arsene ELLA, PhD<br>
Max-Planck Institut Für Neurogische Forschung<br>
Gleueler str, 50<br>
D-50931 Cologne<br>
GERMANY<br>
Tel: (+49) 221 478 5713<br>
Mob: (+49) 174 320 7881<br>
Fax: (+49) 221 478 7256</html>