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.
Summary: | NetBeans extreme slowdown during a day of work | ||
---|---|---|---|
Product: | ide | Reporter: | ecerichter |
Component: | Performance | Assignee: | Tomas Hurka <thurka> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | CC: | jkovalsky |
Priority: | P2 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
Profiler snapshot Windows task manager messages.log.1 messages.log.2 uigestures uigestures.1 netbeans.conf |
Description
ecerichter
2013-02-12 00:13:37 UTC
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 |