0

When using Windows 7 32-bit, most applications cannot go beyond 2 GB limitation (due to things like addressable size, licensing, etc.).

When running Visual Studio on a 32-bit OS, it usually starts throwing OutOfMemoryException when the Working Set goes up to 1.8 GB. This probably due to physical memory fragmentation.

What exactly does this 2 GB limitation refer to?

Is it Working Set, Private Working Set, Private Bytes, Committed Size (Virtual Size), or a commbination of something else?

Also, if you want to check whether an application can potentially run into the 2 GB limitation, which type of memory should you pay attention to?

Here is a post that is similar to my memory question:

What is private bytes, virtual bytes, working set?

Community
  • 1
  • 1
dsum
  • 1,433
  • 1
  • 14
  • 29

1 Answers1

2

32-bit windows applications have a 2GB Virtual Address space limitation (this can sometimes be extended to 3GB by setting some OS boot time switches). This is sometimes referred to as Virtual Bytes as per the question you link to.

zdan
  • 28,667
  • 7
  • 60
  • 71