image47dd1de4

Good,

as I am about to go on holiday and am not going to answer any email with questions or complaints in this regard, here I leave a command that enablesĀ Visual Studio 2010Ā so that you can use more than 2 GB of RAM on Windows Vista or Windows 7.

1. Open the command prompt inĀ Visual Studio 2010.Ā [Start / / All Programs / /Ā Visual Studio 2010Ā / / Visual Studio Tools / / Visual Studio Command Prompt 2010]

2. Run the following command

EDITBIN.exe / LargeAddressAware “% Program Files%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe”

3 Close the console

4 LaunchĀ Visual Studio 2010

Good, simple water.Ā And if you have done so without even asking what the command “Editbin.exe /LargeAdressAware“… because you’re a bit criminal.Ā The first thing you should have done is aĀ BACKUP of DevEnv.exeĀ > > guano Animal!

First of all the previous command (whose reference on msdn you can readĀ here) allows an application to handle more than filesize of RAM in an environment x 86 or x 64, basically rewrites the COFF Assembly of the application to support this.

According to the type of compilation, the environment and the use of this flag, these are the parameters of memory that can handle an application (source)):

AnyCpu (default)
32 bit OS VAS = 2 GB (default)
32 bit OS LAA VAS = 3 GB
64 bit OS VAS = xTB (default)
x 86
32 bit OS VAS = 2 GB (default)
32 bit OS LAA VAS = 3 GB
64 bit OS VAS = 2 GB (default)
64 bit OS LAA VAS = 4 GB
x 64
64 bit OS VAS = xTB
LAA = LARGEADDRESSAWARE
x = 6 or 7 TB

As we can see the LAA option really does mean a major change in x 64 environments, but for 32-bit environments, as earnOnly 1 GB.

And this is useful forĀ Visual Studio 2010?Ā It may seem an exaggeration, in certain scenarios that extra RAM can mean the difference, especially if the IDE is responsible for creating really big assembled and the disc is fried in the compilation of those assembled.

Finally remember what I said at the beginning, this is not supported so no I send emails with yourĀ BSOD, or are agreed upon my holy mother.

Another couple of interesting links where they explain how to tune a little more to Visual Studio 20XX so it can work with more than 2 GB of RAM:

 

Greetings @ Here

The Bruno

Ā Ā Ā 

Reference:Ā http://msdn.microsoft.com/en-us/library/xd3shwhf.aspx

Source:Ā http://bytes.com/topic/c-sharp/answers/586209-editbin-largeaddressaware

One response to “[#VS2010] HowTo: Modify Visual Studio 2010 to really supports 64-bit (your choice and if it doesn’t work don’t complain)”

  1. […] [#VS2010] HowTo: Modify Visual Studio 2010 to really supports 64-bit (your choice and if it doesn’… […]

    Like

Leave a reply to [English] Visual Studio 2010 ALM | El Bruno Cancel reply

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading