I am in the process of developing an electron app and one of the intended target OSes is Windows Server 2012 R2.
I am packaging/building the application using electron-builder and this resultant package / installer works fine on a Windows 7, Windows 8, Windows 10 machine - however, when I deploy to Windows Server 2012 the application predominantly has what appears to be a run away CPU spike where the CPU usage rises to 99%+ and remains there.
I haven’t been able to isolate the cause of this and have tried various build options. I am deploying a dev version that opens the dev console and on occasions when the CPU usage is ‘locked’ in the 100% state, simply closing the dev tools bring the CPU usage back down again.
That said, even moving the mouse over elements in the application to trigger simple tooltips and the like result in huge CPU spikes (40-65%). I should add that the application is developed using AngularJS and so is likely to be more JS engine heavy than some. But it works fine on OSX and these other windows environments.
Has anyone else come across this issue? Or does anyone have any ideas to help me debug this?