Exception of type 'System.OutOfMemoryException' was thrown.

Topics: General
Jun 27, 2013 at 10:16 PM
When trying to compile a VS2010 solution that uses NuGet 2.5 to retrieve packages from a local feed hosted on our local network, I consistently receive the following error:

error : Exception of type 'System.OutOfMemoryException' was thrown.

Usually it resolves itself simply rebuilding the solution 3-5 times, because the package eventually downloads successfully.

I was curious if anyone else has run into this issue and/or if someone could provide me with some assistance in trying to debug this.

Thanks!
Jul 3, 2013 at 5:25 PM
How big is your package?

We've fixed a related bug in the upcoming release that hopefully will solve your problem. If you want to give it a try, you can download the VSIX here http://build.nuget.org/NuGet.Tools.vsix