Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 614857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:09:25+00:00 2026-05-13T18:09:25+00:00

this is really frustrating me. this problem occurs when I have a particularly large

  • 0

this is really frustrating me. this problem occurs when I have a particularly large .cs file (one i’m working on at the moment has 6000 lines and many anonymous types).

I will copy a line or a part of text, and sometimes after copying several things to the clipboard, or sometimes even after the first copy, vs CPU usage shoots up to 50% and the IDE freezes for anything up to a minute, maybe longer. pasting happens immediately, no freezing.

if i end the devenv.exe task and restart it, usually the copying is good again for a couple of times until it starts freezing again.

i have a feeling the problem could be tied to intellisense trying to recalculate itself.. but why this happens when code is copied doesn’t really make sense to me.

one thing i have found that if i copy text via the “select and drag & ctrl with the mouse” method, i avoid the problem. that is what led me to believe it may be something to do with the clipboard ring, or writing to the clipboard.

i have already tried:

  • SP1 installed
  • disabled antivirus
  • disabled intellisense by renaming feacp.dll (this doesn’t seem to disable it at all)
  • disabled intellisense by unticking texteditor/c#/intellisense checkboxes (also doesn’t seem to disable it at all)
  • disabled intellisense by unticking auto list members & parameter information (does seem to disable it)
  • ran a macro to remove all items from the clipboard ring – it removed them but the problem remained.

i must stress this only seems to happen as the code files get large, which is also usually due to having many anonymous types in the code.

i’m using Win7 x64 with 3gb RAM, however i had this problem on vista x64 too.

also, and i mean this in the nicest possible way, please don’t take the refactoring approach. i do a lot of database work with large data sets so the anonymous types need to be there. it’s my opinion that no matter how someone writes their code, this functionality of VS should work properly without freezing the IDE.

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:09:25+00:00Added an answer on May 13, 2026 at 6:09 pm

    I’ve come to the conclusion that it must be when one is editing massive .cs files.

    I’ve since been working with ASP.NET MVC and haven’t had this issue, and I’ve been using much more ‘broken up’ codes files.

    My bad for programming design where i put 10K+ lines in a codebehind file. Yes I know, I’ve seen the error of my ways!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.