Application with LARGEADDRESSAWARE flag set getting less virtual memory
问题 I have a 32 bit application consisting one exe and multiple dlls. The exe has been built with /LARGEADDRESSAWARE flag set. So I expect on a 64 bit OS I should get 4 GB of user address space. But on some 64 bit Win 7 systems I am getting only 2 GB of user address space. The physical memory is 8 GB if that matters. What could be reason for this behavior? 回答1: After browsing through MSDN, I found the following: On http://msdn.microsoft.com/en-us/library/windows/desktop/aa366770(v=vs.85).aspx