[vtkusers] CVS bug??

Charl P. Botha c.p.botha at its.tudelft.nl
Tue Jun 25 12:19:28 EDT 2002


On Tue, Jun 25, 2002 at 03:33:08AM -0500, Chris Boehnen wrote:
> You Can Increase the Heap Space (properties, add command line /Zm1000 or
> whatever size you want), although from my experience it means you will
> need to increase the swap space on your computer as well.  I ran into
> that problem with a program that was only 150K when all was said and
> done. Microsoft needs to work on that.
> 
> Chris

Chris, please don't top-quote. :)

> Hi Charlie,
> 
> This would be my "fault". A while ago we started to test VTK on MS
> Visual Studio .NET. One of the interesting things about this compiler is
> that it is extremely eager to run out of heap space. So, VTK did not
> compile. The problem is that lots of header files include several header
> files. This in a large hierarchy like VTK means that when you include
> something from the bottom of the hierarchy (such as something from
> Hybrid), you include half of the VTK. The solution is to start following
> the last addition to coding standard:
> 
>     * The header file of the class should include only the superclasses
> header file. If you need any other includes, include comment at each one
> describing why it should be included.
> 
> Because of this, some of the header files do not include the same header
> files that they used to.
> 
> 			Andy Cedilnik

I think Andy's changes are improvements and not "fixes".  These changes make
the header files more orthogonal and that is definitely desirable for
several reasons.  The fact that it solved a problem with a typically
inferior MS product is coincidental. ;)

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/



More information about the vtkusers mailing list