electron-builder: High CPU usage from mono-sgen building windows without asar on OS X
Hi 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.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 24 (12 by maintainers)
Commits related to this issue
- fix: incorrect nupkg file if created on windows Closes #402, #351 — committed to develar/electron-builder by develar 8 years ago
- fix: incorrect nupkg file if created on windows Closes #402, #351 — committed to develar/electron-builder by develar 8 years ago
- fix: incorrect nupkg file if created on windows Closes #402, #351 — committed to develar/electron-builder by develar 8 years ago
- fix: incorrect nupkg file if created on windows Closes #402, #351 — committed to electron-userland/electron-builder by develar 8 years ago
@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#).