DotNet Programming World

Thursday, January 05, 2012

Visual Studio 2010 Memory Usage Increase

From: http://stevenharman.net/blog/archive/2008/04/29/hacking-visual-studio-to-use-more-than-2gigabytes-of-memory.aspx

"The first thing to do is tell the OS to increase the amount user-mode memory from 2GB to 3GB. If you're running a 64-bit you can skip this step.
for Windows XP: Backup the boot.ini file 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.
1.Be sure to backup devenv.exe
2.Using the Visual Studio command prompt, navigate to C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\
3.execute the following command:
1: editbin /LARGEADDRESSAWARE devenv.exe
"

0 Comments:

Post a Comment

<< Home