4 ms·
>> 2 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE cleared (default) >> 4 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE set While we are at it. The flag is a bit in the hea
by user5994461 9y ago
>> 2 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE cleared (default)
>> 4 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE set
While we are at it. The flag is a bit in the header of the .exe file. It should be set at compile time in the visual studio option, but it can be set into any file really with an hex editor.
Don't expect to be able to use the 4 GB even with the flag. There is a lower hard cap that depends on the version of windows.