[Date Prev][Date Next]
Re: Can't open env with required mapsize on windows .
Viacheslav Usov wrote:
On Mon, Dec 28, 2015 at 8:27 PM, Howard Chu <firstname.lastname@example.org
> You can't address more than 2GB of memory in 32 bit code.
This is generally not true. A Win32 executable with
the*IMAGE_FILE_LARGE_ADDRESS_AWARE *option set can address more, up to 4 GiB
in 64-bit Windows versions. .
Yes, but irrelevant since you want a single program that can map 1GB on both
Win32 and Win64.
The fact that two of your systems behave so differently should be a red flag -
they have DLLs carving up the address space differently, preventing a
contiguous 1GB range from being found. DLLs that are part of the Windows OS
itself won't vary so much, so you have to wonder what 3rd party DLLs are
active on your machines.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/