This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
|Summary:||CPU usage while IDE is idle on OSX|
|Component:||Filesystems||Assignee:||Jaroslav Havlin <jhavlin>|
|OS:||Mac OS X|
|Issue Type:||DEFECT||Exception Reporter:|
Profiler snapshot while CPU usage is high with npm project open
Profiler snapshot while CPU usage is low with npm project closed
Description florianbruckner 2017-06-13 12:16:42 UTC
Comment 1 florianbruckner 2017-06-13 12:26:04 UTC
Created attachment 164522 [details] Profiler snapshot while CPU usage is high with npm project open
Comment 2 florianbruckner 2017-06-13 12:27:47 UTC
Created attachment 164523 [details] Profiler snapshot while CPU usage is low with npm project closed
Comment 3 florianbruckner 2017-06-13 12:30:02 UTC
Looking at the second snapshot one can still see that the thread takes 100% CPU time. Nevertheless, the hosts CPU is mostly idle, so maybe it sleeps in native code.
Comment 4 florianbruckner 2017-06-13 13:27:44 UTC
Did a bit of logging, and it does not seem to come from OSXNotifier - there are actually just a few events created from this. I also can narrow down the project type a bit: The CPU usage is high when I open a project with a gulpfile, but not when it is plain npm.
Comment 5 dirkschaap 2017-07-20 09:07:47 UTC
Also head problems with very high CPU usage. Closing a random project in the Projects window reduced the CPU usage from 122%(!?) to around 2%. Maybe this will give the developers a clue in fixing the problem!