![]() ![]() If you want to automate this behavior every time you compile your project, use the following Post-Build event for the executed project: if exist "$(DevEnvDir).\tools\vsvars32.bat" (Įditbin /largeaddressaware "$(TargetPath)" is the exe, which VS generated while compiling your project. Is enough to let your program use 4GB RAM. In order to make the program work, maybe you must execute vcvars32.bat in the same directory first. So in my default installation I find it under C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\editbin.exe ![]() In the VC/bin folder of the Visual Studio installation directory, there must be an editbin.exe file. As already mentioned, compiling the app in 圆4 gives you far more available memory.īut in the case one must build an app in x86, there is a way to raise the memory limit from 1,2GB to 4GB (which is the actual limit for 32 bit processes):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |