Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Help fix performance problems in VS

Help fix performance problems in VS

Scheduled Pinned Locked Moved The Lounge
visual-studiohelpcsharpcsscom
67 Posts 14 Posters 74 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Worried Brown Eyes

    Oops - 1-voted instead of clicking for page 1 - off to Q&A to find out how to retract. [EDIT] Couldn't work out how to retract, so 5 voted it as well. Apologies, Stewart

    modified on Tuesday, May 10, 2011 4:16 AM

    D Offline
    D Offline
    Dan Neely
    wrote on last edited by
    #57

    Stewart Judson wrote:

    [EDIT] Couldn't work out how to retract, so 5 voted it as well.

    And that removed the prior 1 vote...

    3x12=36 2x12=24 1x12=12 0x12=18

    1 Reply Last reply
    0
    • J Joe Woodbury

      From the link: If VS goes unresponsive for more than 2 seconds, Perf Watson grabs a stack frame. That's the problem. When I use it, VS 2010 rarely goes unresponsive for 2 seconds, it just feels sluggish. Usability tests have proven over and over that if something takes more than 100 ms, users notice it's not instantaneous. By 300 ms, it becomes obvious. By 1 second it becomes measurably disruptive. Microsoft has an excellent usability department, so why do so many divisions and teams at Microsoft ignore them? (Rhetorical question--solving customer problems takes a back seat to using the latest "in" technology.)

      D Offline
      D Offline
      Duke Carey
      wrote on last edited by
      #58

      RE: sluggish - If you watch any of the MS instructional videos, say for Silverlight, you'll see very snappy VS2010 performance. Oh, and I'll bet all those videos are being recorded on virtual PCs, which I have found to be slightly slower than the non-virtual kind. I'm running a 3 year old WinXP system at work and I'd chalk up the sluggishness to the PC's age and OS, if it weren't for the fact that I've got a 'decent' Win7 64 desktop at home (only 4GB though) which is still no where near as snappy as what I see in the videos. Maybe their usability department is all using boxes with beastly CPUs and lots of memory and, therefore, don't see nearly as much sluggishness.

      1 Reply Last reply
      0
      • J Judah Gabriel Himango

        This sounds like an interesting VS plugin: VS PerfWatson[^]. The plugin detects when Visual Studio hangs. When it hangs, it sends the hung stack trace to MS. MS spends less time investigating VS performance problems and more time fixing them[^]. :cool:

        Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon
        Judah Himango

        E Offline
        E Offline
        EinA
        wrote on last edited by
        #59

        My VS2010 Pro has just decide to crash with: An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object. for ANY project, even if it only has a form with 1 text box in it and simple code such as: Public Class Form1 Dim AIFName As String = TextBox1.Text & ".AIF" End Class I uninstalled the whole VS2010 & installed it again - exactly the same problem. What a PITA this is - screwing up my schedule. Tried to install VS2010 on an older machine but it is so slow it is unusable.

        J 1 Reply Last reply
        0
        • E EinA

          My VS2010 Pro has just decide to crash with: An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object. for ANY project, even if it only has a form with 1 text box in it and simple code such as: Public Class Form1 Dim AIFName As String = TextBox1.Text & ".AIF" End Class I uninstalled the whole VS2010 & installed it again - exactly the same problem. What a PITA this is - screwing up my schedule. Tried to install VS2010 on an older machine but it is so slow it is unusable.

          J Offline
          J Offline
          Judah Gabriel Himango
          wrote on last edited by
          #60

          I've found the cause of your problem: you're using Visual Basic.

          Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon
          Judah Himango

          E 1 Reply Last reply
          0
          • J Judah Gabriel Himango

            I've found the cause of your problem: you're using Visual Basic.

            Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon
            Judah Himango

            E Offline
            E Offline
            EinA
            wrote on last edited by
            #61

            Maybe, because when I try the same thing in C# using VS2010, I don't get any error! :-) But I don't plan to convert all my apps because of a MS error, so I guess I will have to find the cause of the problem.

            J 1 Reply Last reply
            0
            • E EinA

              Maybe, because when I try the same thing in C# using VS2010, I don't get any error! :-) But I don't plan to convert all my apps because of a MS error, so I guess I will have to find the cause of the problem.

              J Offline
              J Offline
              Judah Gabriel Himango
              wrote on last edited by
              #62

              You using Visual Studio 2010 Service Pack 1?

              Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon
              Judah Himango

              E 1 Reply Last reply
              0
              • J Judah Gabriel Himango

                You using Visual Studio 2010 Service Pack 1?

                Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon
                Judah Himango

                E Offline
                E Offline
                EinA
                wrote on last edited by
                #63

                Hmm, I thought I was, but after the re-installation I am not sure whether the update process did install it... I can't see it mentioned anywhere in the About. Thanks - I will look into this in the morning.

                E 1 Reply Last reply
                0
                • I Ian Shlasko

                  Joe Woodbury wrote:

                  That's the problem. When I use it, VS 2010 rarely goes unresponsive for 2 seconds

                  Really? Mine freezes all the time... I could be in the middle of typing, and it'll just suddenly lock up for a good minute or two. It's gotten to the point that when it happens, I just browse a few websites and check back now and then to see if it's woken up yet.

                  Proud to have finally moved to the A-Ark. Which one are you in?
                  Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                  K Offline
                  K Offline
                  Kent K
                  wrote on last edited by
                  #64

                  I had the same thing happening - infuriating and highly stressful when you are trying to get something done. The solution I was working on had 3 projects that all were vs2008, so had been upgraded to vs2010. Long story short, I think (I know I did, but think these were the causes of improvements) I saw improvements by creating a new vs2010 solution and then adding in the projects to it. Also, I read that you shouldn't store any of the projects on a network drive as the i/o is heavy with vs2010 and I think that helped some. Do a search (it dawned on me to that day) on vs2010 slowness to find pointers but yeah, we shouldn't have to live like this. I did install the plugin as it seemed like an efficient way for us and MS to work on some of these problems!!!

                  1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    It's a colloquialism. If I'm going to go through the trouble/hassle of installing a plug-in, they're gonna have to take it to heart and start telling me something besides, "it's not worth fixing". In case you haven't picked up on it yet, that really pissed me off.

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                    M Offline
                    M Offline
                    meaningoflights
                    wrote on last edited by
                    #65

                    To be fair, not all problems are Microsofts fault. Take for example: vs2010-rtm-crashes-when-unlocking-xp[^] - from the memory dump wesaw the video driver was the culprit, not a Microsoft problem. I too have had my fair share of Connect issues rejected, marked as designed, or wont fix. Half the time I think its due to all the hoops and quality checks to get releases out the door at Microsoft, eg: DebugDiag - The Saga to RTM[^]

                    1 Reply Last reply
                    0
                    • E EinA

                      Hmm, I thought I was, but after the re-installation I am not sure whether the update process did install it... I can't see it mentioned anywhere in the About. Thanks - I will look into this in the morning.

                      E Offline
                      E Offline
                      EinA
                      wrote on last edited by
                      #66

                      Fixed it! Found a reference online which said to reinstall .Net framework. I did that & am now back in business.

                      1 Reply Last reply
                      0
                      • I Ian Shlasko

                        Bah... Looks nice, but my office still uses XP, and that requires Vista/7.

                        Proud to have finally moved to the A-Ark. Which one are you in?
                        Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                        F Offline
                        F Offline
                        Fabio Franco
                        wrote on last edited by
                        #67

                        You're not alone :sigh:

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups