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 227421

Summary: Netbeans usiing 100% processor even after closing the IDE
Product: php Reporter: paolosca <paolosca>
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: jstack output
Netbeans messages log
Netbeans metrics log
Netbeans ui gestures log
Snapshot file

Description paolosca 2013-03-13 14:24:51 UTC
Created attachment 132566 [details]
jstack output

After working for more than 30 minutes NetBeans starts using 100% of both my CPU cores and, when I close the IDE, the processes are still running and I have to manually kill them.

With htop I can see multiple processes as following:

  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
 4755 paolo      20   0 1368M  737M 15616 S 110. 18.7  2h03:38 /usr/lib/jvm/java-7-oracle/bin/java -Djdk.home=/usr/lib/jvm/java-7-oracle -classpath /usr/local/netbeans-dev/platform/lib/boot.jar:/usr/local/netbeans-dev/platform/lib/org-openide-modu
 5118 paolo      20   0 1368M  737M 15616 R 74.0 18.7  1h49:47 /usr/lib/jvm/java-7-oracle/bin/java -Djdk.home=/usr/lib/jvm/java-7-oracle -classpath /usr/local/netbeans-dev/platform/lib/boot.jar:/usr/local/netbeans-dev/platform/lib/org-openide-modu
 4757 paolo      20   0 1368M  737M 15616 S 19.0 18.7  4:43.40 /usr/lib/jvm/java-7-oracle/bin/java -Djdk.home=/usr/lib/jvm/java-7-oracle -classpath /usr/local/netbeans-dev/platform/lib/boot.jar:/usr/local/netbeans-dev/platform/lib/org-openide-modu
 7018 paolo      20   0 1368M  737M 15616 S 17.0 18.7  1:17.14 /usr/lib/jvm/java-7-oracle/bin/java -Djdk.home=/usr/lib/jvm/java-7-oracle -classpath /usr/local/netbeans-dev/platform/lib/boot.jar:/usr/local/netbeans-dev/platform/lib/org-openide-modu

I tried changing JDK but it happens with both OpenJDK7 and OracleJDK.

I attach a jstack output of the process and Netbeans logs.

Thanks.
Comment 1 paolosca 2013-03-13 14:26:25 UTC
Created attachment 132567 [details]
Netbeans messages log
Comment 2 paolosca 2013-03-13 14:26:50 UTC
Created attachment 132568 [details]
Netbeans metrics log
Comment 3 paolosca 2013-03-13 14:27:23 UTC
Created attachment 132569 [details]
Netbeans ui gestures log
Comment 4 Marian Mirilovic 2013-03-19 18:22:18 UTC
Reassign for evaluation ... thanks in advance.
Comment 5 Petr Cyhelsky 2013-03-22 09:41:17 UTC
Please attach .npss snapshot of the behavior http://wiki.netbeans.org/FaqProfileMeNow
Comment 6 paolosca 2013-03-23 09:50:26 UTC
Created attachment 132972 [details]
Snapshot file
Comment 7 paolosca 2013-03-23 09:52:53 UTC
I added the snapshot, any help on how to fix this is very appreciated, it's a few months this problem is bugging me and it forces me to restart and kill the processes at every 30 minutes.
Thanks.
Comment 8 Petr Cyhelsky 2013-03-25 09:22:02 UTC
The Editor Parsing Loop thread is parsing php for the whole time of the snapshot, which accounts for the CPU usage - reassigning to PHP
Comment 9 Ondrej Brejla 2013-03-25 09:25:27 UTC

*** This bug has been marked as a duplicate of bug 225603 ***