Not enough storage is available to complete this operation

Viewed 71512

Environment:

  • Visual Studio Ultimate 2010
  • Windows XP
  • WPF Desktop Application using .NET 4.0

We have a desktop application which plays a video. This video is part of a project and the project is packaged into the installer. Every once in a while building the installer project shows this error message:

Not enough storage is available to complete this operation

If I restart Visual Studio it works.

Is there a way to avoid this? Is there a better way to package videos in an installer?

11 Answers

For Visual Studio, you can try to do the following:

  1. Close All Visual Studio instances.
  2. Open Visual Studio Developer tool in Administrator mode.
  3. Navigate to:
    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE.
  4. Type following:
    editbin /LARGEADDRESSAWARE devenv.exe.
  5. It's worth also to restart PC.

Hope this helps )

I am late to Answer but may be useful for others In my case just restarting Visual Studio fixes the problem

Related