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 137641 [details] Profiling snapshot I've a big slowdown using DEV201307222300. Win7 Pro, x64, JDK 1.7.0_25 x64. Attached is IDE profiling snapshot and also IDE log. Regards, Edson
Created attachment 137642 [details] IDE log
Please describe what you did and what is slow and why do you think there is a problem. If you can provide steps to reproduce, it would be great. Thanks.
I did nothing in special: just upgraded from DEV201307212300 to DEV201307222300 using ZIP archives. Sundelly, my NetBeans started to raise processor from ~2% to 20%, and memory consumption raised from nearly 500Mb to 2Gb. My current NB configuration says: netbeans_default_options="--locale en:US -J-Xms1g -J-Xmx2g -J-client -J-XX:+UseParNewGC -J-XX:ParallelGCThreads=2 -J-XX:+PrintCommandLineFlags -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+ExplicitGCInvokesConcurrent -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.zip.disableMemoryMapping=true -J-Dplugin.manager.check.updates=false -J-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes" I use mostly WebApps development (with or without JSF). Nothing else changed: same JDK, same OS, no updates, no changes in anti-virus. That's why I just collected a IDE profiling and IDE log. I do have 5 servers registered: 3 Tomcat (all in different ports to avoid conflicts) and 2 Glassfish (3.1.2.2 and 4.0). As you can see, there are lots of errors in IDE log. I just can't tell what the problem is.
I see. It looks like most of the time is spent in output tab. Maybe one of the registered web servers prints a lot of log messages there. Can you, please, take a heap dump when memory consumption is at 2G, zip it and upload it here <http://deadlock.netbeans.org/job/upload/build?delay=0sec>. Maybe this will show us , what is going on. Thanks.
I've just got the slowdown again... this time, I've captured a complete set of heap dump, thread dump, and IDE log. I've uploaded the heap dump in Hudson as you have asked.
(In reply to comment #5) > I've just got the slowdown again... this time, I've captured a complete set of > heap dump, thread dump, and IDE log. > I've uploaded the heap dump in Hudson as you have asked. I took a look at the heap dump and I do not see anything wrong. BTW: The heap dump is just 500M and not 2G you mentioned in previous message. Where is IDE log and thread dump?
Created attachment 138023 [details] New thread dump - machina had 90% of 8 core processor busy!
I'm looking for the IDE log, but I'm afraid it was overwriten... As soon as I get it, I'll attach it here.
(In reply to comment #7) > Created attachment 138023 [details] > New thread dump - machina had 90% of 8 core processor busy! Thread dump is generally not very useful in such situation. Self sampling provides much better information. In general if you have high CPU usage, we would like to have .npss data from self sampler and messages.log. Make sure that both are from the same IDE run. If you see unusual heap consumption, we would like to inspect heap dump and messages.log.
Created attachment 138097 [details] NB Self Sampler during very busy session
Created attachment 138098 [details] Messages log... I don't know why it has been truncated?
(In reply to comment #11) > Created attachment 138098 [details] > Messages log... I don't know why it has been truncated? The messages.log is truncated, because it is too long. The remaining part of the logs from your session will be probably in messages.log.1. Anyway this long log problem should be fixed now. See issue #233401.
(In reply to comment #10) > Created attachment 138097 [details] > NB Self Sampler during very busy session npss snapshot shows that "Java Task Provider" thread is running all the time. Reassigning to "parsing & indexing". Please evaluate and reassign to appropriate component.
Created attachment 138152 [details] New self samples: IDE doing nothing, with high CPU usage This is a npss I took when my IDE was doing virtually nothing (just open while I was drinking a cup of coffee). CPU usage is high.
Created attachment 138154 [details] IDE log
Created attachment 138155 [details] Prior IDE log
Created attachment 138156 [details] Sundelly, IDE cpu usage is low - here is the self sampler with low cpu usage
Seems to be related to task list? Do you have an Action Items window opened?
(In reply to comment #18) > Seems to be related to task list? > Do you have an Action Items window opened? Yes, I usually have the Action Items window open.
Fixed jet-main 0a9409ab0684 I was able to reduce number of source path finds ten times. However I am not able to reproduce the problem. The error cache was not changed for ages and there was also no change in Action Items according to the task list owner. I also added logging to find out the code causing the non needed error list refreshes. Please wait until the fix is integrated, run the IDE with following cmd option and attache the log: -J-Dorg.netbeans.modules.parsing.impl.indexing.errors.TaskProvider.level=FINER It would be very helpful as we will able to identify the code causing the refreshes and possibly to make it even faster. Thanks!
Integrated into 'main-silver', will be available in build *201308090746* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0a9409ab0684 User: Tomas Zezula <tzezula@netbeans.org> Log: #233262:Big slowdown using DEV201307222300
Verified. OK in DEV201308090746. If needed, I'll reopen the ticket. Thank you very much, this bug was tricky.