what constraints CreateFileMapping size
What is the maximum size that can be used with CreateFileMapping with INVALID_HANDLE_VALUE and SEC_RESERVE, for a virtual paged memory backed file, on windows 11 with 32 gb physical memory I can specify for example 64 gb but on windows 2016 it seems limited to about 4 gb (from a 32 bit program but it shouldn't matter) are there any limitations on size allocatable, should paging file be turned on or what caveats ?.

What is the maximum size that can be used with CreateFileMapping with INVALID_HANDLE_VALUE and SEC_RESERVE, for a virtual paged memory backed file, on windows 11 with 32 gb physical memory I can specify for example 64 gb but on windows 2016 it seems limited to about 4 gb (from a 32 bit program but it shouldn't matter) are there any limitations on size allocatable, should paging file be turned on or what caveats ?.