Bug 12152 - CPU and Memory Usage high on loading solution.
Summary: CPU and Memory Usage high on loading solution.
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.0.5
Hardware: PC Windows
: --- normal
Target Milestone: 4.0.9 (from master)
Assignee: Bugzilla
Depends on:
Reported: 2013-05-08 02:19 UTC by Simon Jefferies
Modified: 2013-06-24 16:18 UTC (History)
2 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 Simon Jefferies 2013-05-08 02:19:24 UTC
On launching Xamarin Game Studio 4.0.5, the CPU usage is approx. 20% (one 100% on a CPU core) and the memory usage keeps climbing (last noted at 800MB+)

Launch Xamarin Game Studio.
Updated to 4.0.5 when notified.
Restarted Xamarin Game Studio automatically.
Loaded solution that was fine before update.
Notice task manager usage.

Should be idle and use far less memory.

Repro. 100% after loading a solution.
Comment 1 Lluis Sanchez 2013-05-08 05:24:26 UTC
Xamarin Studio performs background analysis of the source files and referenced assemblies, so the behavior you describe is normal until all information has been cached.
Does the CPU keep running 100% after a few minutes of opening the project?
Comment 2 Simon Jefferies 2013-05-08 05:27:38 UTC
It does take some time to settle down. The reason I noticed it was that my laptop will ramp up the fans when CPU is above 10% and was the first time I noticed this behaviour.
Comment 3 Lluis Sanchez 2013-05-08 06:19:14 UTC
After it settles down, if you close Xamarin Studio, reopen it and reopen the solution, do you consistently get the same high CPU usage, for the same time?
Comment 4 Simon Jefferies 2013-05-08 06:26:22 UTC
It's quicker and settles down within a few seconds. It was the first time the solution was opened with the update. Is this feature new to this update?
Comment 5 Mikayla Hutchinson [MSFT] 2013-05-08 13:59:16 UTC
No, but we only regenerate the cached information after an update that requires the caches to be invalidated for some reason, for example, cache format changes.

If it weren't for the caches, this would happen every time :)
Comment 6 PJ 2013-06-24 16:18:54 UTC
This bug was marked as fixed for Xamarin Studio 4.0.9, which is currently in the beta channel. Try it out!