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.
Nice. Pressing <enter> while editing the bug title submits the whole thing. Damn Bugzilla. Anyway. Netbeans constantly shows a "Checking for external changes" down in my window and it never completes nor disappears. I clicked it to see what it was and it somehow ended as suspended. Now it hangs there are suspended and I can't get rid of it. I can cancel the task, but it reappears after a few seconds. I suspected that the task was responsible for making the system fans scream for mercy, and sure enough netbeans consumed 600% of my CPU power. After entering the suspended state NB now constantly sucks 105% or so, even when I don't touch the whole thing. Clearly it died a bit internally. See attached screenshot.
Created attachment 158728 [details] Screenshot of immortal process
"Checking for external changes" activity is controlled by Tools->Options->Miscellaneous. On Files tab you can find "Enabled auto-scanning of sources" It is responsible for checking if files were changed externally when you switch between NB and other apps. Also http://wiki.netbeans.org/FaqProfileMeNow snapshot can help us to analyze what's going on
I had to restart NB to calm down the CPU. If I see the task running again I can try to suspend it and see if it dies again and then check the profiling. But suspending it somehow put it in a state where it still sucked CPU but never completed its task.
Same problem for me (NB 8.2 RC): Checking for external changes starts randomly and never completes. Canceling the task does not solve the problem, it reappears. I've reported the issue on Bug 242623 Please see the attachments from that issue (npss file and prinscreens).
until now, it looks like this is solving my problem: http://stackoverflow.com/questions/6268031/how-can-i-disable-scan-for-external-changes-in-netbeans#6268263