4

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?

Nate
  • 30,286
  • 23
  • 113
  • 184
LuckySlevin
  • 695
  • 3
  • 16
  • 23
  • 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 Answers1

1

For Win 7 64-bit,

*Take a backup of devenv.exe, then do the following steps,

  1. Open the Visual Studio command prompt and navigate to C:\Program Files\Microsoft Visual Studio 9\Common7\IDE.

  2. 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