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

Slow and High Memory Usage

43 Answers 601 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.
Ben
Top achievements
Rank 1
Ben asked on 21 Mar 2011, 06:26 AM
I am using the latest Q1 2011 release (2011.1.315.3) on some projects and on different computers I get higher than normal devenv.exe and JustCodeAnalysis.NET4.exe above 1GB with ~700MB just for JC.  The solution is a small xna app with 5 projects.

When editing some code in any project the devenv cpu goes up and vs2010 is very laggy. (2 x dual core xenons 2.8GHz 16GB RAM).

Might have to go back to coderush xpress 

Edit: Do all Telerik dev use (or must use) JustCode?

43 Answers, 1 is accepted

Sort by
0
john81
Top achievements
Rank 1
answered on 21 Mar 2011, 01:42 PM
I had the same issues in Q3 2010 and they are still there in Q1 2011.  Visual Studio is using twice as much memory as it does without JustCode and is sluggish.  I frequently have multiple copies of Visual Studio open and my Core 2 Quad computer with 4 GB of RAM just slows to a crawl and becomes unusable.  I can't work when I have to wait 30 seconds for Visual Studio to respond to a mouse click.  This seems like a great product but until you guys can solve the performance it's not worth having it installed.
0
Jaime Bula
Top achievements
Rank 2
answered on 30 Mar 2011, 02:36 AM
The product is awesome but lags visual studio heavily, my I7 crawls all the time.

The product is also bloated, too much new feature, none of the real uses, may be some multicore processing would me nice!
0
Hans Kratz
Telerik team
answered on 01 Apr 2011, 09:05 AM
Hi all,

Sorry to hear that you have such problems with Visual Studio UI responsiveness when JustCode is installed. We are taking your reports very seriously. It is a top priority for us that JustCode does not get in the way of working in Visual Studio.

In order to find out what exactly causes those problems in your working environment it would be great if you could answer a few questions regarding your solution and style of work:
  • How many unit tests are in your solution?
  • How many errors or warnings does JustCode report for your solution?
  • How many files do you usually have open?
  • Do you edit large files (>5000 lines of code)?
  • Do you have any JustCode visual features enabled? Does the UI responsiveness get better if you disable them (JustCode | Options... | Visual features)?
  • Do you have any information for us that could helps us reproducing the UI responsiveness issues, i.e. is it worse if you perform particular operations?

Here is what we have done so far since the Q1 release:
  • We fixed one issue which can cause VS responsiveness problems if there are many unit tests in the solution.
  • We fixed a memory leak related to the JC error/warning list which can cause increased VS memory footprint.
  • We fixed the issue that JustCode incorrectly analyzed content files as source code in XNA content projects.
  • We fixed high memory usage of the JustCodeAnalysis process and error checking speed slowdown if many files are open.
  • We reduced the impact JustCode makes on the Visual Studio startup time.
  • We reduced the impact JustCode makes on the Visual Studio solution loading time.
  • We identified another issue which can cause VS responsiveness problems if there are many warnings/errors in the solution. We are working on fixing that.
  • We identified multiple issues with our visual features which can cause VS responsiveness problems and will work on fixing those.

Everything that is marked fixed in the above-mentioned list and further performance improvements will be included in the next JustCode internal build and also later in the Service Pack. The internal build is scheduled to be released early next week.


Kind regards,
Hans Kratz
the Telerik team
0
john81
Top achievements
Rank 1
answered on 01 Apr 2011, 01:47 PM
  • How many unit tests are in your solution?
none
  • How many errors or warnings does JustCode report for your solution?
differs on solution but over 100
  • How many files do you usually have open?
8-15
  • Do you edit large files (>5000 lines of code)?
no
  • Do you have any JustCode visual features enabled? Does the UI responsiveness get better if you disable them (JustCode | Options... | Visual features)?
yes, didn't try to disable visual features
  • Do you have any information for us that could helps us reproducing the UI responsiveness issues, i.e. is it worse if you perform particular operations?
I usually have 2-3 instances of Visual Studio open to work on different solutions.  This really does not work at all with JustCode.  After opening the third instance the computer is unusable.

I did give JustCode a week because I like the features but really it was causing too many problems for me.  Even when I limited my self to one instance of Visual Studio open I had performance issues.  It causes Visual Studio memory usage to go up to about 400MB and then JustCode is using 250MB.  The same solution without JustCode installed uses about 20Mb of memory so there is a major issue here.  The problems I experience are VS is unresponsive (while I'm working it seems to freeze for 20-30 seconds at times) and compile times increase dramatically.  I also have an issue where VS stays minimized and they only way I can bring it back is to use the Switch To button in Task Manager.  My solutions are small, do not have large files and do not have test units.  So maybe it's the amount of errors or the visual indicators.  Hope that helps.  I'll give it another shot in Q2.


0
Hans Kratz
Telerik team
answered on 05 Apr 2011, 07:34 AM
Hi John,

we have just released a new internal build which includes some optimizations. Maybe you could give it a spin? The statistics you provided about the solutions you work with are interesting. We regularly work with solution with thousands of files and 10000 warnings and with multiple instances of Visual Studio open but we do not encounter pause times like this.

We will be looking into optimizing memory usage but it seems more likely that the pause times are related to something else in particular since you encountered them even with only one instance of Visual Studio running. We have included some debug output for the purpose of debugging latency problems like this in the latest internal build. So it could help us if you try it and send us the log (stored in %USERPROFILE%\AppData\Local\JustCode\Logs\) from a run where you encounter such a problem.
 

Best wishes,
Hans Kratz
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
John
Top achievements
Rank 1
answered on 25 Apr 2011, 06:30 PM
JustCode must be having issues that don't relate to the size of the solution. I also have a reasonably modest solution I'm using, and JustCode takes between 477MB and 800MB of my devenv footprint. JustCodeAnalysis.NET4.exe is currently using 652,736K and RAM usage seems to go UP when I reduce the number of errors in the source files.

I have no unit tests (yet) in these projects.
0
Hans Kratz
Telerik team
answered on 27 Apr 2011, 02:47 PM
Hi John ,

What kind of projects does the solution contain (e.g. Web project/-sites, C#, VB, WPF (XAML))?

All the best,
Hans Kratz
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
Jaime Bula
Top achievements
Rank 2
answered on 27 Apr 2011, 05:02 PM
Hi,

You didn't ask me, but I have XAML (SIlverlight, 10+ projects) and C# and a Huge Entity Framework Model.

0
John
Top achievements
Rank 1
answered on 27 Apr 2011, 06:34 PM
The solution contains 3 entity framework models, an asp.net web application, a test project (now) with a few unit tests, and 2 small class libraries
0
Hans Kratz
Telerik team
answered on 06 Jun 2011, 03:02 PM
Hi John ,

we will continue our efforts improving memory usage of the external JustCode process and the code analysis process for the next Q.

Best wishes,
Hans Kratz
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
Christine
Top achievements
Rank 1
answered on 07 Jun 2011, 03:47 PM
I really like several features of the JustCode product, but it really slows down Visual Studio to the point that I've had to disable it.  I am running Visual Studio 2010 Ultimate on a Windows XP Profession workstation with an Intel Core i7-860 processor.  The solution I have open in Visual Studio is small...only 2 projects (a class library and a web application).  I hope that improvements will be made soon so that I can integrate the use of JustCode into my development work.
0
deesnider
Top achievements
Rank 1
answered on 07 Jun 2011, 09:32 PM
Have you tried using one of the development/internal builds, if you have access to them?  As either the current 'release' build or the previous dev build caused me issues on Win XP.  Also verify that you don't have any other extensions or add-ins that may conflict with JC.  I think I had issues with that at one point, another extension such as Productivity Power Tools (dont' remember exactly) was adding in some behaviors of its own that might have conflicted with JC or they both ran RAM up.  I disabled what I didn't need from those other extensions.

Not saying JC doesn't have the problems you note, just some of what I've done and played with and JC seems to be better now than it's ever been as far as performance, maybe it'll help.
0
Christine
Top achievements
Rank 1
answered on 07 Jun 2011, 10:28 PM
@deesnider...thanks for the tips!  I'll give them a try. 
0
Stuart Hemming
Top achievements
Rank 2
answered on 08 Jun 2011, 04:23 AM
I know that this doesn't really qualify as a useful comment, but I'll say it anyway. A lot of our performance issues seemed to go away when we moved from XP to Win7.

-- 
Stuart
0
deesnider
Top achievements
Rank 1
answered on 08 Jun 2011, 04:37 AM
Also true for VS 2010 alone.  Performs much better for me on Win7 and uses less memory.
0
Stuart Hemming
Top achievements
Rank 2
answered on 08 Jun 2011, 04:44 AM
Agreed. Upgrading out dev machines to Win7/VS2010 is the best money out bean counters have spent for some time.

-- 
Stuart
0
John
Top achievements
Rank 1
answered on 08 Jun 2011, 05:16 AM
I'm glad you received the performance benefit of upgrading from XP to Win 7, but that absolutely has nothing to do with the slow performance of JustCode. It is significantly slows down VS on both Win 7 64-bit and Win 2008 64-bit, for sure.
0
deesnider
Top achievements
Rank 1
answered on 08 Jun 2011, 06:13 AM
I use Win 7 x64 at home and have 'no problems' with the performance of JC, to this level.  But just one guy's experience.  I hope they find the reasons for other people having issues.
0
Stuart Hemming
Top achievements
Rank 2
answered on 08 Jun 2011, 06:28 AM
In fairness, I did say that it wasn't a very useful comment.

And yes, of course it has a performance impact on VS, well, on the machine as a whole actually, but it is doing a whole bucket lead of stuff.

You'll have doubtless seen other thread here where a number of people, me included, have been asking for the ability to use JC without the Code Analysis bits running, as it appears that this is what's causing the effects you see. Sadly, it seems, that most of the other JC functionality is only available as a side effect of the Code Analysis. However, the team at telerik towers have made a number of significant improvements in the performance and footprint of JC and I know that they are continuing to find more was to improve it further still.

FWIW, I run JC on Win7x64 and whilst I do acknowledge it has an impact, I no longer find the impact it has prevents me from using it day-to-day even on very large solutions (10 projects with many, many files).

-- 
Stuart
0
John
Top achievements
Rank 1
answered on 08 Jun 2011, 08:00 AM
No offense intended by my response, either. I just wanted to make sure Telerik didn't think this was an issue that could be resolved simply by using a more current OS. There are definitely signification performance issues in JC as it stands today, and I really hope to see them addressed so it can get to the point of usability for me.

Based on your comments, I'm guessing our solutions are a bit larger than yours. I know there are ways to restructure the solutions so we don't have so many projects loaded at once, but with the massive refactoring we're doing right now, there's really no other way that makes sense to achieve our refactoring requirements in VS.
0
Stuart Hemming
Top achievements
Rank 2
answered on 08 Jun 2011, 08:04 AM
Given what it is that JC is doing it stands to reason that any performance impact it has is going to be exacerbated by larger solutions.

Let's hope your refactoring exercise will result in a solution that is small enough to allow the impact JC has to be manageable.

--
Stuart 
0
John
Top achievements
Rank 1
answered on 08 Jun 2011, 08:25 AM
To clarify again (sorry about that!), JC's performance impact is not acceptable to me or my team on smaller projects, either. If it doesn't become significantly faster and more efficient with its memory consumption, we just won't be able to use it.

I'd like to use it, particularly since we've paid for it, but I can't use tools that get in the way of my productivity. Tools are supposed to increase my productivity.
0
Hans Kratz
Telerik team
answered on 08 Jun 2011, 09:41 AM
On multicore (in particular quadcore) machines the analysis itself is not likely to be the cause of sluggishness or high latency in Visual Studio provided that enough memory is available. So interactivity or high latency is most likely caused by performance issues in the UI portions of JustCode.

We have identified some of those issues:
- If lots of errors or warnings are present, this can lead to noticable pauses in particular if the errors/warnings list is grouped or sorted.
- Colorize identifiers can cause sluggishness.
- If lots of files are open some sluggishness can occur.

We are working on resolving those issues.

In the meantime please check if having Colorize identifiers turned off, having only a few files open and not having the error/warning list sorted improves things. It would be great if you could give us feedback if doing any of this improves things for you.


Regards,
Hans Kratz
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
John
Top achievements
Rank 1
answered on 08 Jun 2011, 04:51 PM
Thanks for the details. I'll try to find some time to reinstall and tests these tweaks in the near future, and let you know.
0
Hans Kratz
Telerik team
answered on 09 Jun 2011, 11:41 AM

Hi John ,

>>> I'll try to find some time to reinstall and tests these tweaks in the near future, and let you know.

Cool, that would be really helpful. Please try the latest internal build which already has some improvements in that area.



All the best,

Hans Kratz
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
Olivier
Top achievements
Rank 2
answered on 02 Aug 2011, 12:23 PM
Hi,

my Visual Studio system slows down often for several seconds.

my system:
Intel i7 4 cores 2.8Ghz , 8Gb internal memory, 64bit win7

output from just code:

INFO 2011-08-02 13:00:39.095 : High latency: Handling ErrorCheckData elapsed 124

Memory usage:
devenv.exe*32 -> 388284K (memory (private working set) from taskmanager)
Justcodeanalysis.net4.exe*32 -> 268312K (memory (private working set) from taskmanager)
*seems to increase every second

My justcode
settings: do not check for errors (it looks as if just code is doing it anyway, just doesn't report it)
Version: Q2 2011 (2011.2.713.1)

My project:
uses Visual SVN (tortoise)
large amount of files
How many unit tests are in your solution -> none
How many errors or warnings does JustCode report for your solution-> a lot (>100)
How many files do you usually have open? -> 0-50
Do you edit large files (>5000 lines of code)? -> yes, a lot bigger
Do you have any JustCode visual features enabled? -> yes


Hope it helps
Best regards
Olivier

0
Hans Kratz
Telerik team
answered on 15 Aug 2011, 12:39 PM
Hi Olivier,

thanks for your detailed response.

Your system should be powerful enough to handle all kinds of solutions and the memory usage of the analysis process if within the expected range.

The output from JustCode means that at one time it took 124 ms to handle some data the code analysis process sent to Visual Studio causing a one-time latency of 124 ms. This does not explain multi-second pauses.

Can you check if disable the "Color identifiers" option in the Visual aids section of the Options dialog improves performance?

 
Best wishes,
Hans Kratz
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Jakkie Esschert van den
Top achievements
Rank 1
answered on 16 Aug 2011, 09:35 AM
I'd like to add a rough observation I made here is that JustCode seems to be slower on ASP.NET projects compared to pure C# projects. It's just a hunch but it might be that processing C# code is a lot faster then processing stuff like javascript or html.
0
Hans Kratz
Telerik team
answered on 19 Aug 2011, 12:34 PM
Hello Jakkie Esschert Van Den,

We have some optimizations for ASP.net websites and web applications scheduled for the next Q release. So stay tuned!

Greetings,
Hans Kratz
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Ron
Top achievements
Rank 1
answered on 14 May 2012, 09:54 AM
Hi,

I'ts now March 2012 and the product is still incredible slow.
After a while it simply packs the CPU's and eats all memory.
I'm using the Q2 2012 Internal build (2012.2.418.2) on a 2.80 Dual core cpu with 8 GB Ram.

I'ts so bad that I will remove this product from my machine.

Ron
0
Hans Kratz
Telerik team
answered on 29 May 2012, 09:49 AM
Hi,

we have made some improvements for the Q2 release. Please check one of our internal builds.

Kind regards,
Hans Kratz
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Christiano
Top achievements
Rank 2
answered on 29 Jul 2012, 09:31 PM
I have tried the JuscCode 2012 Q2 SP1, and saw the same thing: high memory usage (always increasing devenv.exe) and slow. There are 2 options: running visual studio 2010 with /safemode (this will disable justcode totally), or to uninstalling it.

I have a Dell XPS15 CoreI7 with 8 cores and 8GB Ram.
0
Zdravko
Telerik team
answered on 01 Aug 2012, 02:29 PM
Hi all,

 @Christiano Coutinho
How much is the memory usage and do you use other productivity tools that could conflict with JustCode?

Also would you please check if you have enabled the :

  • Color Identifiers at JustCode menu -> Options -> Visual Features
  • Hints at JustCode menu -> Options -> Code Analysis -> Hints -> specific language (e.g. C#)
If you have, turn them off and check if the issue persists.

You can disable JustCode from VS Tools menu -> Add-in Manager without uninstalling it, if that would help. All the best,
Zdravko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Christiano
Top achievements
Rank 2
answered on 03 Aug 2012, 07:56 PM
The only add-on I'm currently using is the Typemock Isolator. At this moment, I have uninstalled JustCode from my production environment, and I plan to test it on a test environment where I will have a clean Win7 installed computer with Visual Studio 2010 and Telerik products. As soon as I get there, I'll give you feedback about this issue.


Thank you for the answer.
0
Jaime Bula
Top achievements
Rank 2
answered on 03 Sep 2012, 03:22 PM
Ok the lag and de high memory usage is not going away. I can understand this beacuse Just Code does a lot of work!

I would really suggest an easy TURN On /  Turn Off feature. Une doesn't require code analysis when using the XAML o HTML visual designers. Refactoring is not always needed and well, some features as color coding may not always be needed.

This button could be on the toolbar or in the Just Code Status Bar on the lower left corner.

Best Regards,

Jaime

Other users please vote for the feature if you find it interesting.

0
Zdravko
Telerik team
answered on 05 Sep 2012, 01:18 PM
Hi all,

@ Jaime  
Thanks for the suggestion.
We have plans to add a button for turning on/off JustCode, but it is not pretty clear when it will be done.
Currently, you can disable JustCode from VS Tools menu -> Add-in Manager  if you do not need it service at any specific moment.
Thanks.

Regards,
Zdravko
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Michael
Top achievements
Rank 1
answered on 16 May 2014, 06:01 PM
My experience is that all Telerik products are extremely useful and receive my #1 recommendation to Sr. Management for "must have" developer tools, except for this one. It's consuming an average of 1 of 4 cores of CPU (by itself!) and nearly 2GB of RAM on my workstation. After installing it I'm unable to run the ASP.NET web application on my workstation ... IIS Express throws "Out of memory" errors. 

Well, I guess Telerik is comprised of humans after all. For a while there, my experience with your products was so high that I thought you may have recruited some extra terrestrial intelligence and merged them in your software team(s). Sigh, mere humans after all...

Uninstall time; I must get back to work!

- Smith
0
Jaime Bula
Top achievements
Rank 2
answered on 16 May 2014, 06:54 PM
What happened to the turn on / off feature? Just Code is really lagging even while I write.

I use a late 2012 MBP withi core i5, 16 Gigs of ram, and SDD. It lags even while I write.
0
Zdravko
Telerik team
answered on 21 May 2014, 01:51 PM
Hello Jaime,

I am sorry for the unpleasant experience using JustCode, but I want to assure you this is not abnormal behavior which we are willing to investigate. For that purpose we would like to send us your logs from  %localappdata%\JustCode\Logs, details about the project you are using like type, size and any circumstances that could cause this issue.
As a second step we might need a performance snapshot from JustTrace, but for now I think this would be enough.

@Michael Smith
It would be great if you follow the same steps as above and provide us the required information so we could check for a culprit.
Thanks.

Regards,
Zdravko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Alfredo
Top achievements
Rank 1
answered on 02 Sep 2014, 07:21 PM
Two years latter and Just Code still is eating all my 16GB of RAM.  Sorry guys, but this product is not production ready.
0
Ivan
Telerik team
answered on 05 Sep 2014, 02:40 PM
Hi,

I am sorry to hear that you are experiencing such behavior with JustCode.
Performance is one of our main priorities and we constantly do improvements in this area.

In order to find out what exactly causes those problems in your working environment it would be great if you could answer a few questions regarding your solution and style of work:
  • How many unit tests are in your solution?
  • How many errors or warnings does JustCode report for your solution?
  • How many files do you usually have open?
  • Do you edit large files (>5000 lines of code)?
  • Do you have any JustCode visual features enabled? Does the UI responsiveness get better if you disable them (JustCode | Options... | Visual features)?
  • Do you have any information for us that could helps us reproducing the UI responsiveness issues, i.e. is it worse if you perform particular operations?
In addition it would be helpful to send us your logs from  %localappdata%\JustCode\Logs.

Finally, could you tell us how many resources does JustCode use - how much RAM and CPU and is the resource consumption permanent or it varies?

Your help is highly appreciated!



Regards,
Ivan
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Alfredo
Top achievements
Rank 1
answered on 05 Sep 2014, 02:44 PM
Reviewing what others said in another thread, I disabled Productivity Power Tools and the performance of Just Code improved greatly.
0
Svetlozar
Telerik team
answered on 10 Sep 2014, 12:41 PM
Hello,

Thank you for the follow-up, we are glad you have resolved the issue!

We will double check if there is something we can improve on our side regarding the compatibility issues with Productivity Power Tools.

Regards,
Svetlozar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Ben
Top achievements
Rank 1
Answers by
john81
Top achievements
Rank 1
Jaime Bula
Top achievements
Rank 2
Hans Kratz
Telerik team
John
Top achievements
Rank 1
Christine
Top achievements
Rank 1
deesnider
Top achievements
Rank 1
Stuart Hemming
Top achievements
Rank 2
Olivier
Top achievements
Rank 2
Jakkie Esschert van den
Top achievements
Rank 1
Ron
Top achievements
Rank 1
Christiano
Top achievements
Rank 2
Zdravko
Telerik team
Michael
Top achievements
Rank 1
Alfredo
Top achievements
Rank 1
Ivan
Telerik team
Svetlozar
Telerik team
Share this question
or