The problem is with Visual Studio. Being a 32-bit application its limited to just 2GB of virtual memory, even if its running in a 64-bit OS. At least, its limited to 2GB by default… but we can
hack around change that.
The hack… err, solution.
- for Windows XP: Backup the
boot.inifile and then put the /3GB switch in your
boot.ini. (more information on the /3GB option)
- for Vista: run the following from the Visual Studio command prompt (Brad Rutkowski has the full scoop):
1: BCDEDIT /Set IncreaseUserVa 3072
Then we have make Visual Studio large address aware.
- Be sure to backup
- Using the Visual Studio command prompt, navigate to
C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\
- execute the following command:
1: editbin /LARGEADDRESSAWARE devenv.exe
Finally we’ll use the old Microsoft-fix-all – reboot the machine. Bounce that box!