High CPU usage from mono-sgen building windows without asar on OS X
See original GitHub issueHi Today I upgraded to the 3.9.0. I’m very excited about the ability to sign windows builds on osx, but there appears to be a critical bug.
Building windows binaries now takes significantly longer.
The culprit here is mono-sgen
.
The process performs the various actions that it must for about thirty seconds, and then mono-sgen
kicks in at 99% CPU usage for about ten minutes.
If you could take a look at soon that would be much appreciated.
Issue Analytics
- State:
- Created 7 years ago
- Comments:24 (12 by maintainers)
Top Results From Across the Web
mono-sgen64 causes 100% CPU when connecting to build host
Open Visual Studio for Windows. - Tools -> iOS -> Pair to Mac - Connect to your Mac. On the MAC: - Open...
Read more >High CPU usage kernel_task with 2 monitors - Apple Developer
The following should fix the high kernel_task CPU usage: Disconnect both external monitors. Shut down the Mac. Plug in the MagSafe power adapter...
Read more >CPU usage is so high with Windows 10 1909 Build 18363.693
Hello,. I have a laptop Dell with. Core I5 3337U 1.8GHz. Ram 8GB. Samsung EVO 860 SSD 500GB. OS Windows 10 64-bit (1909...
Read more >Very high CPU and memory usage of mono-sgen on Os X
Working with a fairly large solution (~180 projects), Rider is using 1.74GB Memory, but mono-sgen and mono-sgen64 are using a lot of both...
Read more >How to Fix High CPU Usage - Intel
These Windows processes are designed to use very little of your processing power or memory under ordinary circumstances — you'll often see them...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ArekSredzki If you disabled ASAR and mono hangs — it is well known issue. Please see https://github.com/electron/windows-installer/issues/55
I am sorry, but unlikely it will be fixed soon. It is a Squirrel.windows bug and Squirrel.windows written in C# and requires windows. So, it is very hard to fix it (requires a lot of time to learn new unpleasant platform and it is a *** windows). Please file issue to Squirrel.windows.
Why you have to disable ASAR? I can fix some issues in this area.
Because fix was not complete. nuget part was only fixed (it seems, the same zip issue — because nuget uses the same/simular “broken” (?) zip lib).
Because nuget is a junk. Squirrel.Windows will be also fixed in this way — we will implement zip on our side in a cross-platform way and pass result to Squirrel.Windows (i.e. I am not going to fix it properly on Squirrel.Windows side because it is not possible — Squirrel.Windows written in C#).