Large Address space is not supported on Windows
USE_LARGE_ADDRESS_SPACE
is disabled for Windows, as the --enable-large-address-space
flag is only respected on Darwin.
The general case now depends on the presence of MADV_FREE to enable large address space support. Which means all possibility of enabling this feature on Windows have been removed.
The reason for it being disabled is described in the configure.ac file:
Windows has VirtualAlloc MEM_RESERVE/MEM_COMMIT, however
it counts page-table space as committed memory, and so quickly
runs out of paging file when we have multiple processes reserving
1TB of address space, we get the following error:
VirtualAlloc MEM_RESERVE 1099512676352 bytes failed: The paging file is too small for this operation to complete.