Heap Reserve/Commit and Stack Reserve/Commit values greater than 2GB can not be set for a 64-bit application in a Visual Studio. Please look and try at Properties -> Linker -> System.
For any of these four parameters ( Heap Reserve/Commit and Stack Reserve/Commit ):
Value 2147483647 ( 2*2^30 - 1 = 2GB - 1 byte ) can be set
Value 2147483648 ( 2*2^30 = 2GB ) can not be set and a dialog box is displayed:
Title: Properties Window
Text: Property value is not valid
Details: Operation SetValue on the component did not succeed, generating the error code 0x8002000A.
This is a very strange limitation for 64-bit applications. A test project is attached.