Bug 13029 - The Git add-in has performance and memory use issues
Summary: The Git add-in has performance and memory use issues
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: unspecified
Hardware: PC Mac OS
: High normal
Target Milestone: master
Assignee: Marius Ungureanu
Depends on:
Reported: 2013-07-03 05:31 UTC by Lluis Sanchez
Modified: 2013-09-13 12:08 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Lluis Sanchez 2013-07-03 05:31:02 UTC
The GIT add-in seems to be a source of performance and memory issues. For example:


Disabling the GIT add-in seems to be a common "solution" to Xamarin Studio performance issues. We need to figure out what's happening.
Comment 1 Marius Ungureanu 2013-07-29 05:58:26 UTC
Issues should be fixed in tip of master. Although, I don't know how to mark this unless we get feedback from the reporter.

Marking as NEEDINFO.
Comment 2 Nuno 2013-08-14 12:11:27 UTC
Just started using Xamarin Studio and I can reproduce this just by opening a large project.
If the git add-in is active the app uses ~20% CPU constantly. If I disable the add-in the CPU usage is ~1% when idle.

How can I help you track this down?
Comment 3 Marius Ungureanu 2013-08-22 07:27:11 UTC
First of all, is it an open-source project or a closed-source one? The project itself can help for data testing and finding out what's taking up the CPU.

Secondly, I fear this issue must be fixed upstream by JGit, since it's the way they don't allow us to do relative repository tree walks that takes a hit on our performance counters.

If you can provide any project which is big enough to cause performance issues, I'd gladly appreciate it.
Comment 4 Marius Ungureanu 2013-09-06 14:34:00 UTC
Nuno, can you try it out in the latest version of alpha?
Comment 5 Nuno 2013-09-09 05:55:59 UTC
Sorry for not answering before, I've been quite busy with other stuff. ~Regarding the project, it's closed source.

I'll try to test it in the next few days.
Comment 6 Nuno 2013-09-11 11:52:50 UTC
I upgraded to the latest alpha and enabled the Git add-in. Based on a quick check it appears the problem is solved, I no longer get high CPU usage just by opening the project.

Great work.
Comment 7 Marius Ungureanu 2013-09-13 12:08:30 UTC
Thanks for the confirmation! :D