Memory Limits for Windows Releases answers what is the maximum amount of memory any single process on Windows can address:
On 32-bit versions of Windows, a single process can map and address no more than 3GB of virtual memory at time. In 64-bit versions of Windows, a 32-bit process can map and address no more than 4GB of virtual memory at a time.
For 64-bit processes, the amount is difficult to calculate as there are numerous overlapping limits that could apply depending on all kinds of factors. It's typically around 7TB.
My question: How to verify the values such as "3GB", "4GB" etc.?
Can a C# program be written to prove it? Is there a method for it?