Opened 15 months ago

Last modified 15 months ago

#12576 new bug

Large Address space is not supported on Windows

Reported by: Phyx- Owned by:
Priority: normal Milestone:
Component: Compiler Version: 8.0.1
Keywords: newcomer Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: #12573 #12495 Differential Rev(s):
Wiki Page:

Description (last modified by Phyx-)

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.

Change History (3)

comment:1 Changed 15 months ago by Phyx-

Keywords: newcomer added
Operating System: Unknown/MultipleWindows

comment:2 Changed 15 months ago by Phyx-

Description: modified (diff)
Summary: Large Address space is unenable-able on Windows.Large Address space is not supported on Windows

comment:3 Changed 15 months ago by Phyx-

Description: modified (diff)
Note: See TracTickets for help on using tickets.