Monday, June 28, 2010

VS2010 patch for Cut and Copy "Insufficient Memory" issue

The Visual Studio 2010 Editor team has released a hotfix to reduce the frequency of the annoying error of VS2010 displaying the error message that there is "insufficient available memory to meet the expected demands of an operation at this time..." that can occur when trying to cut or copy text to the clipboard.

After upgrading to VS2010 a month ago this error plagued our project incessantly. The previous workaround for the team has been to use Steve Harman's documented hack for VS2008, but on the VS2010 executable (http://stevenharman.net/blog/archive/2008/04/29/hacking-visual-studio-to-use-more-than-2gigabytes-of-memory.aspx) which seemed to work.

The official Microsoft hotfix can be downloaded here https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=29729

kick it on DotNetKicks.com Shout it