[vtkusers] CVS bug?? - update: The /Zm Option (VC7)

Andrew J. P. Maclean a.maclean at acfr.usyd.edu.au
Wed Jun 26 19:54:22 EDT 2002


Hi Charlie,

There is hope!
The following comments will be interesting to the VTK Team!
See below.

It seems that setting /Zm does not take effect until the compiler is
restarted, and settings cannot be expected to be the same for all
systems.

Regards
   Andrew

___________________________________________
Andrew J. P. Maclean
Postal:
Australian Centre for Field Robotics
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA
 
Room:  106
Phone: +61 2 9351 3283
Fax:   +61 2 9351 7474
       http://www.acfr.usyd.edu.au/

___________________________________________


-----Original Message-----
From: Jason Shirk [mailto:jasonsh at microsoft.com] 
Sent: Wednesday, 26 June 2002 13:51
To: boost at lists.boost.org
Subject: [boost] Re: Re: Problems with uBLAS and /Zm Option (VC7)



"Paul A. Bristow" <boost at hetp.u-net.com> wrote in message
news:<AHEJIHEOOOBMJPAGPLIPMEEADBAA.boost at hetp.u-net.com>...
> "This should also explain the need for the /Zm option. The compiler 
> needs to ensure it has a contiguous address space for the heap we 
> create the PCH from.
> 
> Jason Shirk, VC++ Compiler Team"
> 
> from
> > http://aspn.activestate.com/ASPN/Mail/Message/1156165
> 
> I turned off pre-compiled headers for my compilations, just in case. 
> This may explain the different requirements, but not my confusion? 
> Perhaps it is to do with getting the compiler re-started so it finds 
> the contiguous space?
> 
> (It fails C1060 immediately without appearing to do anything, whereas 
> on the first try, it takes some seconds before failing).
> 

When it fails immediately, the compiler is trying to reserve more memory
than the system allows.  This depends on which version of the compiler
you have, how much physical memory you've got, and if you've tweaked the
size of the pagefile.

When if fails after running awhile, an internal heap is exceeding it's
predetermined limit.

With our upcoming release, this option will rarely be necessary.  It
will never be necessary if you aren't creating a PCH, and it will only
be necessary if your PCH is > ~50MB (and I'd rethink your build if your
PCH is that big.)

Jason Shirk
VC++ Compiler Team




More information about the vtkusers mailing list