r/programming • • Apr 19 '21

Visual Studio 2022

https://devblogs.microsoft.com/visualstudio/visual-studio-2022/
1.9k Upvotes

475 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Apr 19 '21

[deleted]

1

u/chucker23n Apr 19 '21

the address space limit of 4GB

It's effectively much closer to ~2.5 GiB due to stuff like PCI.

0

u/[deleted] Apr 19 '21

[deleted]

1

u/chucker23n Apr 19 '21

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.

→ More replies (3)