locked
visual studio running too slow RRS feed

  • Question

  • Hi friends
    after working visual studio (on my report model project) few minutes it runs too slow. i mean clicking on entities ,attributes takes ages to finish.  I opened task manager i see "devenv.exe" is taking more than 800,000 k !!

    am using sql server 2005 standard edition.
    have you seen similar problem.
    Thanks for your help.
    Friday, January 27, 2006 3:58 AM

Answers

  • This kind of issue is highly intractable. Best approach is to use http://connect.microsoft.com to file a bug with us with the solutions you're using, information on the machine you're using (CPU, memory, etc.) and the exact steps you did that led to the problem. 

    The alerternative is to call customer support services and have a support specialist try to diagnose the issue.

    Hope that helps,
    -Lukasz
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, March 5, 2009 3:13 PM

All replies

  • I've seen similar issues.  Not quite as bad though.  I have a solution that contains 6 projects, including a report services project.  When ever that project is loaded, especially if I've been using the report designer, VS seems more sluggish and other parts of visual studio (specifically the winforms designers) throw errors and crash visual studio 2005 (more often than usual).  Basically, I just unload my report projects when I'm not editing a report.  That's the best workaround so far.
    Tuesday, January 31, 2006 6:32 AM
  • Hi prk,
    can you provide a stable repro?
    when you save model and dsv to files, how big are they?

    Tuesday, January 31, 2006 7:14 AM
  • So far I have been unable to figure out exactly what causes it.  I will continue to work on it.
    Tuesday, January 31, 2006 3:40 PM
  • >>can you provide a stable repro?
    sorry ,did not understand ur question,can u be more specific please.

    >>when you save model and dsv to files, how big are they?
    the dsv file is 129kb and smdl file is 261 kb.

    i noticed one interesting thing ,for example, when you add a filter for an entity in model designer ,when you try set a value for the filter ,VS tries to load data from database , right ?
    but what happens ,sometimes ,i get warning that ,a connection could not be made. but at the same time if open query analyzer with same credentials it works nicely !!

    BTW i create ,view reports without any problems (using Report builder) though.
    Wednesday, February 1, 2006 4:02 AM
  • Alexandre
    thought it may help find the problem,
    my model solution attached to visual sourcesafe. so I checkin/checkout from my solution if i make any changes.
    Wednesday, February 1, 2006 4:34 AM
  • Hi there JonM
    If you find any solution plz let me know. That'll be a great help.
    at the moment ,my work around is, re-start visual studio once in awhile!!
     
    Wednesday, February 1, 2006 6:50 AM
  • Hi guys
    i think i found out whats happening.
    I use Yahoo desktop search. it indexes all files on my disk. i excluded my VS project folder from indexing and for last 1 hour it has not been slow down.
    Thank God :)
    Friday, February 3, 2006 2:10 AM
  • looks like Yahoo desktop search is not causing this problem as VS started slowing down again!!
    and it takes up all my pc memory and i cant use any other program.

    only way ,so far , to fix is close down VS completly!!
    please let me know if any one has similar problem and found a fix.
    Thanks for your help.
    Tuesday, February 7, 2006 2:22 AM
  • Thanks prk!
    Tuesday, February 7, 2006 8:35 PM
  • Jon
    am wondering if you found any solution regarding this.
    BTW i used "filemon" software from www.sysinternals.com to see whats happening when VS starts taking up all my pc memory and i found some errors in its log ,they are

    1)353    5:29:31 p.m.    devenv.exe:264    QUERY INFORMATION    C:\WINDOWS\assembly\GAC_32\Microsoft.ReportingServices.SemanticQueryEngine\9.0.242.0__89845dcd8080cc91    PATH NOT FOUND    Attributes: Error   

    2)356    5:29:31 p.m.    devenv.exe:264    QUERY INFORMATION    C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportingServices.SemanticQueryEngine\9.0.242.0__89845dcd8080cc91    PATH NOT FOUND    Attributes: Error

    3)359    5:29:31 p.m.    devenv.exe:264    QUERY INFORMATION    C:\WINDOWS\assembly\GAC\Microsoft.ReportingServices.SemanticQueryEngine\9.0.242.0__89845dcd8080cc91    PATH NOT FOUND    Attributes: Error

    but i dont have any folder like GAC or GAC_32 under my C:\WINDOWS\assembly\ folder.
    but none of my colleagues have this folder either but their VS run fine !!
    Thursday, February 9, 2006 12:39 AM
  • prk,

    I've been coding to much recently to take the time and run this issue to the ground.  However, I can answer some of your missing folder questions.  The GAC is the Global Assembly Cache, from what I understand this is where compiles .NET assemblies live.  See, when you compile a .net from into an .exe or .dll its not really machine code yet.  It just gets compiled in microsoft IL (intermediate language).  Then the first time you run a .net app on your computer, the local framework compiles it into machine code and runs it.  This is how a .net 2.0 application can run on on either x86 or x64 machine from the same .exe.  The GAC folders are kind of weird and are generally hidden from any of the windows explorer views.  Generally, I can use the command line and get into and see these folders.  The log file above looks like it references the compiled reporting services pieces in your GAC.

    Thursday, February 9, 2006 12:54 AM
  • Hi Jon
    Thanks for quick and detailed reply on this one.
    sorry to interrupt your work. its become very difficult  for me to work in VS lately and am looking for a solution everywhere.
    i reinstalled VS2005 and MSDN help but no avail ..

    Anyway please update me if you find any solution .Thanks for your help :)
    Thursday, February 9, 2006 1:15 AM
  • Hi prk,

    by stable repro I meant a list of actions to get to the problem (something like this):

    1. create model project
    2. add this dsv
    3. add this model
    4. add this filter to that entity and watch memory consumtion - it grows to 800k

    If possible (no commercial secrets), send me the model and the dsv and the list of repro actions I need to do to repro the issue on my dev machine.

    almineev atatat microsoft dotdot com

    Thursday, February 9, 2006 6:58 PM
  • Alexandre
    unfortunatly i cant do stable repro .
    it works for first 1 hour fine after started VS and after that it starts taking up all memory.
    when i open task manager i can see memo usage grows by 100k each time !!!

    i also noticed its not  model project that has issues its with any type of solution i use with VS.
    u want me to send the log i created using www.sysinternals.com (software is filemon) instead ?
    Friday, February 10, 2006 1:55 AM
  • Yeah, send it.
    At least something. might get an idea of whats happening.
    thanks

    Wednesday, February 15, 2006 7:25 PM
  • Thanks Alexandre
    I just forwarded the log to your email address.
    Thanks for your help.
    Wednesday, February 15, 2006 7:56 PM
  • Same thing here...

    We have created a data source view consisting of >500 tables. When we generate a report model using Add New Report Model Wizard, we are getting the ff. error:

    "Microsoft Visual Studio has encountered a problem and needs to close...."

    Error signature --------------------------------------------------------------------------

    Event Type: clr20r3

    P1: devenv.exe

    P2: 8.0.50727.42

    P3: 4333E699

    P4: system.windows.forms

    P5: 2.0.0.0

    P6: 4333aefa

    P7:1508

    P8:12f

    P9ystem.componentmodel.win32

    -----------------------------------------------------------------------------------------------------

    So the work-around is we added our Report Model manually by right-clicking Report Models>Add New Model. Then at the Report Model pane, right clicked the Model and then Autogenerate. The Report Model was successfully generated.

    However, if we close our VS2005 then re-load our solution, the Report Model generated takes too much time to load. We're not even sure if it even loads since we're not waiting for it anymore and instead, delete the existing Report Model created from Autogenerate and repeat the same process all over again. Drawback is we're losing our added relationships and newly defined expressions each time we Autogenerate....

    So, could you please help us in solving the error mentioned above or atleast a solution in being able to load Report Model created through Autogenerate?

    By the way, we have already extended our MaxRequestLength as well as checked the Use current statistics checkbox in generating Report Model through Wizard yet neither works.

    Thanks(")


     

    Monday, June 18, 2007 2:30 AM
  • This kind of issue is highly intractable. Best approach is to use http://connect.microsoft.com to file a bug with us with the solutions you're using, information on the machine you're using (CPU, memory, etc.) and the exact steps you did that led to the problem. 

    The alerternative is to call customer support services and have a support specialist try to diagnose the issue.

    Hope that helps,
    -Lukasz
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Thursday, March 5, 2009 3:13 PM