Add Visual Studio compile flag /Zm1000 which increases the max memory reserverd from pre compiled headers. I got build error on VS2010 x64 about this, havent seen it before. /Zm1000 equals to 500mb according to the docs so it should handle anything we throw at it.