Bug 34554 - One CPU core used up in El Capitan
Summary: One CPU core used up in El Capitan
Status: RESOLVED DUPLICATE of bug 34238
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: 4.2.0 (C6)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: 4.2 (C6)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-10-05 07:21 UTC by Robert Jeppesen
Modified: 2015-10-14 05:55 UTC (History)
7 users (show)

Tags:
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 GitHub or Developer Community 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:
Status:
RESOLVED DUPLICATE of bug 34238

Description Robert Jeppesen 2015-10-05 07:21:25 UTC
Repro: 
Start Xamarin Studio
Open a project (tried a F# project and a C# project)

Check CPU usage, it'll hover around 100% meaning one core. Fan on my MBP Pro gets loud after a while. 

I don't recall seeing this prior to upgrading OSX to El Capitan.
Comment 1 Robert Jeppesen 2015-10-05 07:22:29 UTC
This is on 5.10 build 800.
Comment 2 iain 2015-10-12 15:54:46 UTC
I think this is a known bug in Mono 4.2.1, which I think has already been fixed (although the fix may not have been released yet). Reassigning to the Runtime component to verify
Comment 3 Arpit Jha 2015-10-13 03:41:03 UTC
We have tried to reproduce this issue on multiple Elcapitan machine by opening/running the large application for 2 hour with XS 5.10.800. But we are seeing in Activity Monitor CPU usage doesn't hit 100% , in our case in 80-90% in ideal state. Please refer to below screen:
http://www.screencast.com/t/cLygAVdFGWW1

Could you please suggest any other variables/scenario that we can consider to reproduce the issue at our end. 

Environment Info:
== Xamarin Studio ===

Version 5.10 (build 800)
Installation UUID: 0922fe35-7ea3-4736-b7b6-9eddaf47d514
Runtime:
	Mono 4.2.1 (explicit/d8b68fd)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010069

=== Xamarin.Profiler ===

Version: 0.23.45.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 7.0 (8227)
Build 7A220

=== Xamarin.iOS ===

Version: 9.2.0.87 (Enterprise Edition)
Hash: 3e5d608
Branch: master
Build date: 2015-10-09 16:01:44-0400

=== Xamarin.Android ===

Version: 6.0.0.13 (Enterprise Edition)
Android SDK: /Users/360logica/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		6.0    (API level 23)

SDK Tools Version: 24.4.0
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.1

Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.1
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.4.0.82 (Enterprise Edition)

=== Build Information ===

Release ID: 510000800
Git revision: 92083188182e8c4588153e0d63e99c1a7037e4b6
Build date: 2015-09-18 15:03:06-04
Xamarin addins: 97a862a9dcaa31e9044c8613ef42e0a588c8d012
Build lane: monodevelop-lion-cycle6

=== Operating System ===

Mac OS X 10.11.0
Darwin 360Logicas-MacBook-Pro.local 15.0.0 Darwin Kernel Version 15.0.0
    Wed Aug 26 16:57:32 PDT 2015
    root:xnu-3247.1.106~1/RELEASE_X86_64 x86_64
Comment 4 iain 2015-10-13 09:58:22 UTC
Install MDK-4.2.1.56

Runtime:
	Mono 4.2.1 (explicit/4a18c57)

and open XS. It will immediately hit 100% CPU.

It is fixed in later versions of Mono 4.2.1
Comment 5 Arpit Jha 2015-10-14 03:06:06 UTC
Thanks @iain, I have checked this issue with MDK  MonoFramework-MDK-4.2.1.56.macos10.xamarin.x86_4a18c575ac105b920ec7fb37b24ffe74ad9b3bd7  and observed that on opening XS CPU load increase to  90 to 95 % on ELCapitan machine.

Screencast : http://www.screencast.com/t/mf5UCuQQfUdD

Environment Info:
=== Xamarin Studio ===

Version 5.10 (build 800)
Installation UUID: 0922fe35-7ea3-4736-b7b6-9eddaf47d514
Runtime:
	Mono 4.2.1 (explicit/4a18c57)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010056

=== Xamarin.Profiler ===

Version: 0.23.61.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 7.0 (8227)
Build 7A220

=== Xamarin.iOS ===

Version: 9.2.0.87 (Enterprise Edition)
Hash: 3e5d608
Branch: master
Build date: 2015-10-09 16:01:44-0400

=== Xamarin.Android ===

Version: 6.0.0.13 (Enterprise Edition)
Android SDK: /Users/360logica/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		6.0    (API level 23)

SDK Tools Version: 24.4.0
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.1

Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.1
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.4.0.82 (Enterprise Edition)

=== Build Information ===

Release ID: 510000800
Git revision: 92083188182e8c4588153e0d63e99c1a7037e4b6
Build date: 2015-09-18 15:03:06-04
Xamarin addins: 97a862a9dcaa31e9044c8613ef42e0a588c8d012
Build lane: monodevelop-lion-cycle6

=== Operating System ===

Mac OS X 10.11.0
Darwin 360Logicas-MacBook-Pro.local 15.0.0 Darwin Kernel Version 15.0.0
    Wed Aug 26 16:57:32 PDT 2015
    root:xnu-3247.1.106~1/RELEASE_X86_64 x86_64
Comment 6 Arpit Jha 2015-10-14 05:29:31 UTC
I have checked this issue with MonoFramework-MDK-4.2.1.72.macos10.xamarin.x86_3c2754755b247e719b3f45fe3f3751cb448fc443 and observed that issue is no longer exist.

Screencast: http://www.screencast.com/t/97suYmqMvsB

Hence closing this issue.

Please feel free to reopen this issue if you are facing again.

Environment Info:
=== Xamarin Studio ===

Version 5.10 (build 819)
Installation UUID: 3d25a767-a003-4a7d-9f5e-e57987cf6cf0
Runtime:
	Mono 4.2.1 (explicit/3c27547)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010072

=== Xamarin.Profiler ===

Version: 0.23.35.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Xamarin.Android ===

Version: 6.0.0.13 (Business Edition)
Android SDK: /Users/mac360_xamarin/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 24.4
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.1
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 7.0 (8227)
Build 7A220

=== Xamarin.Mac ===

Version: 2.4.0.82 (Business Edition)

=== Xamarin.iOS ===

Version: 9.2.0.87 (Business Edition)
Hash: 3e5d608
Branch: master
Build date: 2015-10-09 16:01:44-0400

=== Build Information ===

Release ID: 510000819
Git revision: 5ff1ae603fa924d778f86cc13c7b2ff2ddea3d28
Build date: 2015-10-13 00:22:52-04
Xamarin addins: 76c1fa1d57172a447864737b91880c89b8d52a82
Build lane: monodevelop-lion-cycle6

=== Operating System ===

Mac OS X 10.10.5
Darwin mac360-xamarins-Mac-mini.local 14.5.0 Darwin Kernel Version 14.5.0
    Wed Jul 29 02:26:53 PDT 2015
    root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
Comment 7 Shruti 2015-10-14 05:55:52 UTC

*** This bug has been marked as a duplicate of bug 34238 ***