If you're experiencing frequent “insufficient memory” errors when doing small cut or copy operations in Visual Studio 2010 RTM, please download this patch to see whether it resolves the issue.

What are the symptoms of this bug?

Attempting to cut or copy small to moderate amounts of text in Visual Studio 2010 RTM may incorrectly cause the following error: "Insufficient available memory to meet the expected demands of an operation at this time, possibly due to virtual address space fragmentation. Please try again later."

How can I fix it?

There is a patch available for this issue in VS 2010 RTM.

Anything else I should know?

Please note that both before and after hotfix installation, there are cases where Visual Studio accurately reports that not enough memory is available to complete a given operation.  You may still see out of memory dialogs when attempting to make a very large cut or copy (50+ MB of data at once).  However, the fix should ensure that Visual Studio is legitimately unable to find enough memory to execute such a large operation before displaying this dialog. The frequency of such a dialog should be dramatically decreased after installing the hotfix.

What if I still have questions?

If you have any questions about this issue, please feel free to post in the comments below.  If you’re experiencing problems with cut, copy, and paste that do not involve this “insufficient memory” dialog, or if you’re seeing “insufficient memory” dialogs in cases other than cut/copy/paste, the root cause is likely different.  For issues like this, please file a Connect bug and we’ll investigate.

Brittany Behrens
Program Manager, Visual Studio Editor Team

 

clip_image002I’m Brittany, a Program Manager on the Visual Studio Editor team.  Some of you may recognize me from Connect bugs or as the main voice of @VSEditor on Twitter, and I’m responsible for a variety of Editor features.  I love hearing from customers, so please let me know what you think!