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.

Bug 235282 - NB constantly being sluggish
Summary: NB constantly being sluggish
Status: RESOLVED WONTFIX
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-30 06:05 UTC by tomzi
Modified: 2016-07-07 09:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (820.19 KB, text/plain)
2013-08-30 06:06 UTC, tomzi
Details
<no description> (4.51 MB, application/x-netbeans-profiler-npss)
2013-08-30 06:07 UTC, tomzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2013-08-30 06:05:30 UTC

    
Comment 1 tomzi 2013-08-30 06:06:52 UTC
NB  is always around 30% CPU usage or above
Comment 2 tomzi 2013-08-30 06:06:58 UTC
Created attachment 139464 [details]
IDE log
Comment 3 tomzi 2013-08-30 06:07:13 UTC
Created attachment 139465 [details]
<no description>
Comment 4 Dusan Balek 2013-08-30 08:03:56 UTC
Tons of sampler threads running all of them trying to dumpAllThreads.
Comment 5 Petr Cyhelsky 2013-08-30 14:27:02 UTC
I think this is confusion of cause and effect - the total time of these threads is 89 s and they don't run in parallel but consecutively as a reaction to blocked EDT - it can be easily seen if you invoke select intervals on org.netbeans.modules.sampler.Sampler$1.run

The real resource hog and cause seems to be the editor parsing loop doing the scanning - which somehow slows the whole computer down thus causing the sampling.
I have looked only on some of the beginnings of high activity and it seems that in many cases the scenario is : some editor stuff (highlights, braces matching) leads to parsing which slows down the computer and consequently basic swing stuff takes a lot of time and sampling is started. It may be worth investigating what started the parsing in the first place and whether it is needed...
Comment 6 Dusan Balek 2013-09-03 13:52:00 UTC
I doubt that the Editor Parsing Loop is the main cause for all the sampler-awt threads to be started. Its total time is 95s (BTW: compare to the total time of the sampler threads which is 89s) and most of the time is spent waiting for an extremely slow IO. Invoking the 'Select Intervals' action on org.netbeans.modules.sampler.Sampler$1.run as suggested (thanks for the tip), it can be seen that the Editor Parsing Loop had been idle waiting in the time before the first sampler-awt thread was started. The only relevant IDE activity in that time seems to be the 'Refresh-Atfer-WindowActivated' in progress and more than ten RequestProcessor threads running some Maven related tasks. Reassigning to Maven.
Comment 7 Milos Kleint 2013-09-06 11:54:52 UTC
the maven related threads I can see are related to jaxws, reassigning for evaluation.
Comment 8 Martin Balin 2016-07-07 09:54:17 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss