Boost logo

Boost :

Subject: Re: [boost] [1.48.0] Beta 1 release candidates available
From: Lars Viklund (zao_at_[hidden])
Date: 2011-10-27 07:14:46


On Wed, Oct 26, 2011 at 10:02:08PM +0000, Stephan T. Lavavej wrote:
> [Lars Viklund]
> > The problem is that this memory needs to be allocated up-front. All this
> > message means is exactly what it says - the default amount is not
> > sufficient and you need to change it in the build settings for the
> > source file that builds your PCH, adding /Zm123 to the advanced compiler
> > settings field there, or globally for your project.
>
> [Olaf van der Spek]
> > Hmm, right. Maybe it's time for MS to increase the default. :p
>
> The default is 75 MB on x86 (and 750 MB on x64), which is a fair amount of memory. Including all STL headers in VC10 SP1 consumed only 29.3 MB when I last measured it.
>
> This has been increased to 83 MB in VC11 as of right now.

In one of the projects I'm working on, /Zm is at a comfortable 350 MB.

This of course is mostly due to putting any stable third party library
used in the PCH, which while nice from a compile-time cost perspective,
makes IntelliSense keel over and die.

-- 
Lars Viklund | zao_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk