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.
Product Version = NetBeans IDE 7.3 RC2 (Build 201302050851) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_13 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Right now, my computer with 8 cores at 3.2 Ghz is screaming due NetBeans consuming constant 70% of CPU. I've no idea about what is going on. I'm working in development of Web App (few JSP pages, few Servlets, and some javascript code). I took a profiler from the session, but it is going slowdown more and more. Attached there is the log file, the snapshot of the profiler and the screenshot of the Windows task manager.
Created attachment 131266 [details] IDE log
Created attachment 131267 [details] Profiler snapshot
Created attachment 131268 [details] Windows task manager Computer is doing nothing: there is no Antivirus activity, few light applications. Computer has 8Gb of memory, with > 4Gb free. Started after a redeployment. Tomcat is working fine. No other log messages anywhere. Just NetBeans eating my CPU.
Just from looking at the snapshot it doesn§t seem there is any problem in what the IDE is doing, but it seems there is a lot of gc being done which can consume a lot of cpu. The beginning of messages.log is missing, please attach the other parts like messages.log.1 etc. It would also be great to have some data concerning the gc, So when the problem occurs again do the following: 1. Run VisualVM 2. Monitor the application for some time 3. Create application snapshot 4. Attach the application snapshot here.
Created attachment 131304 [details] messages.log.1 As per your request.
Created attachment 131305 [details] messages.log.2
Created attachment 131306 [details] uigestures
Created attachment 131307 [details] uigestures.1
And the application snapshot from VisualVM? (it would be great, because we would see among other information the graph of gc's CPU usage...) The messages.log(s) are almost useless, because there is so much logging going on in your IDE, that they seem to be "rolled over" so much, that in none of them there is the normal beginning from the start of the IDE (where we can see the parameters like -xmx, what garbage collector you are using, and other....)
I'm using standard netbeans.conf, only exception is "--locale en:US", because I prefer working in English.
Created attachment 131311 [details] netbeans.conf And here is java version: C:\Users\richter>java -version java version "1.7.0_13" Java(TM) SE Runtime Environment (build 1.7.0_13-b20) Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
How to get the VisualVM snapshot from NetBeans? It is necessary any startup parameter? I've never used VisualVM before.
You need to download VisualVM [1], install it and then launch it. It will detect all running Java applications so you right click NetBeans 7.3 node and invoke "Heap Dump" from its popup menu. This will generate new [heapdump] node. Right click it, and "Save As..." it. Then upload it to our Hudson [2] and don't forget to provide 226000 as its "Upload_Name". That's all. Thanks! [1] http://visualvm.java.net/download.html [2] http://deadlock.netbeans.org/hudson/job/upload/build