This is a migrated thread and some comments may be shown as answers.

Resources vs. Effort - CodeAnalysisService.Server

15 Answers 149 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brian H. Madsen
Top achievements
Rank 2
Brian H. Madsen asked on 18 Nov 2009, 11:56 PM
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

15 Answers, 1 is accepted

Sort by
0
CSoft
Top achievements
Rank 1
answered on 19 Nov 2009, 08:52 AM
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!).

0
Chris
Telerik team
answered on 19 Nov 2009, 02:46 PM
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.
0
Brian H. Madsen
Top achievements
Rank 2
answered on 19 Nov 2009, 10:59 PM
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
0
Brian
Top achievements
Rank 1
answered on 18 Dec 2009, 02:39 AM
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?
0
Chris
Telerik team
answered on 18 Dec 2009, 04:29 PM
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.
0
Jamie
Top achievements
Rank 1
answered on 02 Feb 2010, 03:15 PM
Is it possible to disable this server?  I have several solutions open at one time and only so much RAM.
0
Chris
Telerik team
answered on 04 Feb 2010, 02:26 PM
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.
0
Mark
Top achievements
Rank 2
answered on 01 Mar 2010, 01:39 PM
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.
0
Chris
Telerik team
answered on 04 Mar 2010, 12:48 PM
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.
0
Jamie
Top achievements
Rank 1
answered on 04 Mar 2010, 02:16 PM
That's great.  Could you put a note on this thread when its available?
0
Chris
Telerik team
answered on 04 Mar 2010, 03:42 PM
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.
0
Mark
Top achievements
Rank 2
answered on 08 Mar 2010, 11:33 AM
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.
0
Chris
Telerik team
answered on 10 Mar 2010, 06:06 PM
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.
0
Gerrit
Top achievements
Rank 1
answered on 15 Mar 2010, 10:55 PM
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.


0
Chris
Telerik team
answered on 18 Mar 2010, 04:43 PM
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.
Tags
General Discussions
Asked by
Brian H. Madsen
Top achievements
Rank 2
Answers by
CSoft
Top achievements
Rank 1
Chris
Telerik team
Brian H. Madsen
Top achievements
Rank 2
Brian
Top achievements
Rank 1
Jamie
Top achievements
Rank 1
Mark
Top achievements
Rank 2
Gerrit
Top achievements
Rank 1
Share this question
or