I am using Win 7 64bit edition and I'm working on a C# project. This project has a big database (1,85gb) which makes it a large project. When I am trying to create an installer for this project, while building, it gives me an "OutOfMemory" exception. The problem is probably about the memory available for a process which is 2 GB in windows. So what should I do to fix this problem?
Asked
Active
Viewed 3,892 times
4
-
Does the setup project contain a 1.85 GB database file inside of it, or is the .msi database itself 1.85 GB? – Jason Malinowski Nov 28 '11 at 19:20
-
setup will contain that database file inside of it. But I don't have any msi file since i couldn't build the project so i don't know msi size yet:) – LuckySlevin Nov 28 '11 at 19:25
1 Answers
1
For Win 7 64-bit,
*Take a backup of devenv.exe, then do the following steps,
Open the Visual Studio command prompt and navigate to C:\Program Files\Microsoft Visual Studio 9\Common7\IDE.
Then execute, editbin /LARGEADDRESSAWARE devenv.exe.
To solve this problem in VS2010, read the post VS 2010 IDE 2GB limit. Hope this helps

Community
- 1
- 1

Mohan Kumar
- 6,008
- 6
- 28
- 36
-
-
-
FYI you can confirm that VS is already large address aware by calling dumpbin /headers devenv.exe – rollsch Nov 22 '19 at 03:52