Resources vs. Effort - CodeAnalysisService.Server

16 posts, 0 answers
  1. Brian H. Madsen
    Brian H. Madsen avatar
    18 posts
    Member since:
    Nov 2008

    Posted 18 Nov 2009 Link to this post

    Finally got around to setting up a new environment so i could play with JustCode..

    a few pointers:

    On my system the Telerik.JustCode.CodeAnalysisService.Server.Exe is running at about 175-225mb of memory. which is pretty crazy considering the project i have open is only containing the following:

    1 ASPX page with, updatepanel, radgrid, updateprogress - these have only just been dragged in and are very basic.
    1 .cs file with 28 lines of code in it

    Somebody needs to look at that service otherwise i'd hesitate to think what it'd be using on a medium/large project..

    Cheers,
    Brian H. Madsen
    Microsoft MVP ASP.Net
  2. CSoft
    CSoft avatar
    4 posts
    Member since:
    Aug 2005

    Posted 19 Nov 2009 Link to this post

    Had a similar issue: 9 projects in one solution, memory consumption was 500 MB.

    IDE also seemed a little sluggish, but that might just be some other issue (VS2008 isn't exactly performant!).

  3. DevCraft banner
  4. Chris
    Admin
    Chris avatar
    221 posts

    Posted 19 Nov 2009 Link to this post

    Hi,

    Thanks for the feedback.

    We've tested JustCode with every company codebase and with some really large open source projects, some of them exceeding 1M lines of code and JustCode proved to perform very good in these cases and the memory consumption was quite tolerable (depending on the size of the project).

    Unfortunately there're still cases in which JustCode takes a lot more memory than it should normally take (just like the cases you described) and we're now investigating these problems and hopefully there'll be a fix soon for this.

    Btw, sometimes JustCode could reach some peaks in the memory consumption (e.g. 150MB - 200MB) while analyzing but then again drop to about 70MB - 100MB. But this depends a lot on the size of the projects.

    Once again, thanks for the feedback and sorry for the inconvenience. We'll try to fix these problems in the next week or so.


    Greetings,
    Chris
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Brian H. Madsen
    Brian H. Madsen avatar
    18 posts
    Member since:
    Nov 2008

    Posted 19 Nov 2009 Link to this post

    Hey Chris,

    Excellent to hear that it performs well with large projects. That was my primary concern.

    small projects, like this, doesn't use up that many resources as it is, so the overhead from the analysis service is near neglible as there should be plenty of resources available.

    I'll try to run it on some of our other large implementations and see how well it performs with those.

    Cheers,
    Brian H. Madsen
    Microsoft MVP ASP.Net
  6. Brian Seekford
    Brian Seekford avatar
    12 posts
    Member since:
    Jun 2009

    Posted 17 Dec 2009 Link to this post

    Good afternoon,

    I am using the JustCode product and am finding it taking up to 800mb to 900mb of RAM for periods of time. I am running an ASP.NET solution with a few hundred pages.

    I am on Windows 7 64 bit. The RAM usage is untolerable for my environment, so I will have to disable the addin.

    Any ideas on why it uses so much memory, or anyway to put a cap on it?
  7. Chris
    Admin
    Chris avatar
    221 posts

    Posted 18 Dec 2009 Link to this post

    Hello Brian,

    We'll be working on optimizing JustCode's memory footprint during the next few weeks. We try not to hurt the performance of the code analysis service while doing these optimizations and that's why it will take some time.

    All the best,
    Chris
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  8. Jamie
    Jamie avatar
    5 posts
    Member since:
    Jan 2009

    Posted 02 Feb 2010 Link to this post

    Is it possible to disable this server?  I have several solutions open at one time and only so much RAM.
  9. Chris
    Admin
    Chris avatar
    221 posts

    Posted 04 Feb 2010 Link to this post

    Hi Jamie,
    This isn't possible for now but soon we'll add an option to make it possible to turn the global analysis on or off. Currently we're concentrated mainly on making the code analysis service consume as less memory as possible.

    Greetings,
    Chris
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  10. Mark
    Mark avatar
    15 posts
    Member since:
    Jan 2009

    Posted 01 Mar 2010 Link to this post

    I agree with the comments regarding memory usage being far to high - my development environment has SQL Server 2008, VS 2008 and together with an SQL editor and multiple browsers (IE, FF, Safari etc.) there aren't enough resources for JustCode. I received an Out of memory exception when building my web application and have had to uninstall.
  11. Chris
    Admin
    Chris avatar
    221 posts

    Posted 04 Mar 2010 Link to this post

    Hello,
    We've planned to introduce an option for turning off the on the fly code analysis for the next version of JustCode. This will improve the things a lot in cases of using JustCode on machines with less RAM available.

    Best wishes,
    Chris
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  12. Jamie
    Jamie avatar
    5 posts
    Member since:
    Jan 2009

    Posted 04 Mar 2010 Link to this post

    That's great.  Could you put a note on this thread when its available?
  13. Chris
    Admin
    Chris avatar
    221 posts

    Posted 04 Mar 2010 Link to this post

    Hi Jamie,
    Sure, you can track the progress of the following PITS item:
    http://www.telerik.com/support/pits.aspx#/public/justcode/1217

    Greetings,
    Chris
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  14. Mark
    Mark avatar
    15 posts
    Member since:
    Jan 2009

    Posted 08 Mar 2010 Link to this post

    Having to turn JustCode on or off as required rather negates its usefulness in checking your code in the background. Surely one could just do a regular build to find out the errors.
  15. Chris
    Admin
    Chris avatar
    221 posts

    Posted 10 Mar 2010 Link to this post

    Hello Mark,
    Hmmm, actually you won't need to turn on/off JustCode.
    What does this PITS item say is that JustCode will have an option with which you'll be able to turn on/off the on-the-fly solution wide analysis. When this feature is off you'll still be able to see errors and warning but only for the currently opened files.

    Kind regards,
    Chris
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  16. Gerrit Seigers
    Gerrit Seigers avatar
    3 posts
    Member since:
    Jul 2004

    Posted 15 Mar 2010 Link to this post

    I am joining the queue (unfortunately): On my 2 gig virtual machine I get (sometimes) out of memory errors (for the first time since a year) for my small to medium sized project. I am running VS 2010 RC.

    After uninstalling Justcode my memory problems have dissapeared.


  17. Chris
    Admin
    Chris avatar
    221 posts

    Posted 18 Mar 2010 Link to this post

    Hi Gerrit,
    Sorry to hear you have this issue. We'll investigate this problem further and we'll test JustCode on a similar environment and see how it's performing.

    Best wishes,
    Chris
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top
DevCraft banner