Archivos para 9/08/11
[#VS2010] HowTo: Modify Visual Studio 2010 to really supports 64-bit (your choice and if it doesn’t work don’t complain)
Publicado por elbruno en HowTo, Visual Studio 2010 el 9 agosto, 2011
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:
- http://stevenharman.net/blog/archive/2008/04/29/hacking-Visual-Studio-to-use-more-than-2gigabytes-of-memory.aspx
- http://social.msdn.Microsoft.com/forums/en-us/MSBuild/thread/059d2947-fea2-492F-a734-1b4c774408ce/
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
[VS2010] HowTo: Modificar Visual Studio 2010 para que realmente soporte 64 bits (te la juegas y si no funciona no te quejes)
Publicado por elbruno en HowTo, Visual Studio 2010 el 9 agosto, 2011
Buenas,
como estoy a punto de irme de vacaciones y no pienso responder ningún correo con preguntas o quejas al respecto, aquí les dejo un comando que habilita a Visual Studio 2010 para que pueda utilizar más de 2 GB de RAM en Windows Vista o Windows 7.
1. Abrir la consola de comandos de Visual Studio 2010. [Start // All Programs // Visual Studio 2010 // Visual Studio Tools // Visual Studio Command Prompt 2010]
2. Ejecutar el siguiente comando
Editbin.exe / LargeAddressAware “%Program Files%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe”
3. Cerrar la consola
4. Lanzar Visual Studio 2010
Bueno, más simple agua. Y si lo has hecho sin siquiera preguntarte que es el comando “Editbin.exe /LargeAdressAware” … pues eres un poco criminal. Lo primero que deberías haber realizado es un BACKUP de DevEnv.exe >> Animal de guano !!!
En primer lugar el comando anterior (cuya referencia en msdn puedes leer aquí) permite que una aplicación pueda manejar más de 2GBs de RAM en un entorno x86 o x64, basicamente reescribe el COFF de la aplicación o ensamblado para dar este soporte.
De acuerdo al tipo de compilación, al entorno y a la utilizacion de este flag, estos son los parámetros de memoria que podrá manejar una aplicación (fuente):
AnyCpu (default)
32 bit OS VAS = 2GB (default)
32 bit OS LAA VAS = 3GB
64 bit OS VAS = xTB (default)
x86
32 bit OS VAS = 2GB (default)
32 bit OS LAA VAS = 3GB
64 bit OS VAS = 2GB (default)
64 bit OS LAA VAS = 4GB
x64
64 bit OS VAS = xTB
LAA = LARGEADDRESSAWARE
x = 6 or 7 TB
Como podemos ver la opción LAA realmente significa un cambio importante en entornos x64, pero para entornos de 32 bits, pues se gana solo 1 GB.
¿Y esto es util para Visual Studio 2010? pues aunque parezca una exageración, en determinados escenarios ese extra de RAM puede significar la diferencia, especialmente si el IDE se encarga de crear ensamblados realmente grandes y el disco se frie en la compilación de esos ensamblados.
Finalmente recordar lo que dije al principio, esto no está soportado asi que no me envien correos con sus BSOD, ni se acuerden de mi santa madre.
Otro par de links interesantes donde explican como tunear un poco más a Visual Studio 20XX para que pueda trabajar con más de 2GB de RAM:
- http://stevenharman.net/blog/archive/2008/04/29/hacking-visual-studio-to-use-more-than-2gigabytes-of-memory.aspx
- http://social.msdn.microsoft.com/forums/en-US/msbuild/thread/059d2947-fea2-492f-a734-1b4c774408ce/
Saludos @ Here
El Bruno
Referencia: http://msdn.microsoft.com/en-us/library/xd3shwhf.aspx
Fuente: http://bytes.com/topic/c-sharp/answers/586209-editbin-largeaddressaware






SocialVibe