
28 Oct
2011
28 Oct
'11
5:11 p.m.
On Thu, Oct 27, 2011 at 1:05 AM, Stephan T. Lavavej <stl@exchange.microsoft.com> wrote:
Olaf> What's the disadvantage of reserving much more space for the PCH?
I'm not a compiler dev, but I believe that asking for more memory is more likely to fail - the PCH wants a contiguous block of virtual address space at a certain location. x86 doesn't have that much virtual address space to begin with (and the compiler is already playing a tricky game by asking for the PCH before any other DLLs are loaded).
4 gb if it's large address aware and on x64, 2 gb otherwise. A fixed location shouldn't be too hard either. Olaf