That's physical AS limit, which thanks to PAE you don't have to worry about.
On CPUs that support it but don't also support 64-bit. That's kind of not a common scenario any more in 2021.
Large AS-aware programs can use the full 4GB virtual AS minus some kernel addresses (at least on Windows, no idea about Linux); otherwise you only have 2GB of virtual AS to play with. Not that even 4GB is very much.
Maybe .NET Framework doesn't take advantage of this, then? The behavior I'm observing is that 32-bit .NET apps can't use much more than about 2 GiB.
Fun fact, PAE is a prerequisite to enable 64-bit mode on x86, and therefore is always active on 64-bit kernels.
Oh? I figured PAE was by definition disabled on 64-bit since it’s moot to have a 36-bit space when you actually have a 48?-bit space. But maybe it was easier to design that way for compatibility.
32bit code can only go to 3GB of address space on Windows with that linker flag, 1GB is the minimum reserved for kernel usage. 2GB is the default indeed.
0
u/[deleted] Apr 19 '21
[deleted]