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.
Created attachment 160233 [details] last messages from the IDE I work on a number of massive javascript programs that have very complex webpack/browserify configurations. This is relevant because I have aliases such as require("Application") that don't necessarily exist as a node module, but are configured to point to specific files, so this cannot be statically analysed. Now almost always if i type: require("Application").widgets<<caret-here>> there is no problem, but the second I type another dot and attempt to type "IconWidget" aka: require("Application").widgets.IconWidget<<caret-here>> The CPU usage maxes out and Netbeans will never recover. Its as if its trying to analyse a massive amount of files, or some internal exception is firing that is preventing it from recovering. This is almost always repeatable in my applications and I cannot figure out what it could be. I have automatic code scanning enabled, but this doesn't seem to affect it and the IDE-logs don't seem to show anything useful either. Its important to note, that at this point, I am not triggering the autocomplete, and I've tried typing it slower and faster to try and see if the IDE is waiting for me to finish typing before attempting to statically analyse something.
Created attachment 160234 [details] Video of Problem You will notice that the Java process will consume the CPU even when I'm no longer typing. The problem persists even when i type a ';' or continue typing in other files and even close the file all together.
Could you attach a threaddump, when it consumes the CPU? http://wiki.netbeans.org/GenerateThreadDump Thanks.
Created attachment 160349 [details] threaddump1
Created attachment 160350 [details] threaddump2
It looks like your project was still scanned. In the dev build there was performance problem during scanning that was fixed a week ago. Could you try newer build. Also I have noticed that you use probably full ide? There were many threads from cnd (c++) modules. Do you use them?
Hi there Yeah I use the Full IDE because I also work on C++ projects and a lot of Java projects as well. I cannot remember if I was working on any at the time though, but I do have a couple of .sh scripts in my javascript projects that run sets of gulp commands etc... so I'm not sure if those threads are related to that. I will download the new build (which I do weekly anyways) and give it another go. Thanks.
Thanks. Let me know, if the problem is still there. And if yes, could you please provide a snapshot of from selfprofiling? http://wiki.netbeans.org/FaqProfileMeNow Thanks.
Just letting you know that so far so good, but I haven't directly tested the same issue just yet, so Im going to keep this open, but I promise I will let you know when I try and replicate the exact same problem. This kind of problem was occurring quite regularly for a number of things, and so far its been good to me. xD Thanks for the patience
Thanks for your comment. So I close this issue as works for me. It could be fixed earlier. But if you run it again, please reopen. Thanks.