Visual Studio 2010 Copy Paste Bug


If you experiencing bug with copy and paste in Visual Studio 2010, you probably need to check this blog post.

Symptom of this bug is when you try to copy small amount of text in VS 2010 error apears with the following message: “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.”.

Direct download link for this fix is here.

About Bahrudin Hrnjica

PhD in Mechanical Engineering, Microsoft MVP for .NET. Likes .NET, Math, Mechanical Engineering, Evolutionary Algorithms, Blogging.

Posted on 27/06/2010, in .NET and tagged . Bookmark the permalink. 10 Comments.

  1. Hello!
    First of all thanks for the link. In my case there is no error VS just freezes. I’d been looking all over for a fix, patch or workaround with no luck. I’ve VS 2k10 pro with SP1. As per MS is concern the bug is not resolved yet, here is the link http://connect.microsoft.com/VisualStudio/feedback/details/574258/visual-studio-2010-copy-paste-bug. In the mean time if some one find a way to “solve” this problem please share the solution.
    Thanks.

  2. First of all thanks for comment. The bug you mentioned I have never experienced. If you know how to reproduce the bug, it will be cool to share.

    • Hello Bahrudin!
      I have to thank YOU for such a unique place.
      About “my” issue, as you could see i’m not the only one. And yes it started to happen when i had a RDP open. suddenly (and yes suddenly, means no updates, no changes on software and hardware, nothing but windows updates) this happens every single time i try to copy from outside of VS.
      Steps to reproduce….Well all what i did to this mess start.
      1. Open a RDP session and let it open
      2. Open a VS project/solution
      3. Open notepad and load a file or type anything there
      4. Go back to VS, Go back to notepad and select any text
      5. Copy/Cut the selected text and paste it to VS.
      6. Click on the VS Area.
      VS Hangs…
      if this happens once, it will keep happening even if you skip the first step.

  3. Hi
    I’ve tried to reproduce a bug several times ( Windows 7 64 bit), but unsuccessful. I have opened RDP all the time since I am working with remote computer everyday.
    There must something else on your pc.
    Maybe it is relatd to localization of windows or something specific for your PC.

    • Hi,
      My OS is in english (Win 7 Ultimate x86), the 99% of software installed is from MS (even the antivirus). I’d re-installed the SP1, look for other VS updates, but nothing seems to fix this issue. I’d closed software that may be using the clipboard in the background like teamviewer, VNC, download manager and ie. but nothing.
      One more thing for each time that VS crashes i have a report of google chrome crash in
      C:\Users\Estuardo\AppData\Local\Microsoft\Windows\WER\ReportArchive.. Coincidence??

      UPDATE!!!
      I’ve installed MS LightSwitch Trial and de problem is gone!!.

      I’ll keep this post updated to let you (all) know any change

      • Jet,

        I am very glad you solved problem. Thanks for sharing bug fix :). It looks unusual but if it works than it is welcome and acceptable.

        Regards

  4. The Okavango Delta is a great tourist destination as it turns into an amazing network of waterways during the rains
    and is frequented by herds of elephants. Not any kind of transport can also bring you such classic features.

    But here are some ways to cut your everyday expenses and free up some cash that
    you can put into savings that will become your getaway fund.

  5. En el segundo grupo se hallan los pointer y setter, destacando el pointer inglés como uno de los perros de caza más conocidos en todo el mundo.

    De forma básica cumplen exactamente la misma función que los
    retriever pero en el agua.

  6. Market share for Andropid by April 2011 was nearly around 37%.
    One of the best new features in i – OS 8 is the ability to use third-party keyboards.
    Further you need to contact with overall i
    – OS development requirements.

  7. Good repllies in return of this matter with firm arguments and explaining the whole thing
    regarding that.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s