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 - Netbeans usiing 100% processor even after closing the IDE
Summary: Netbeans usiing 100% processor even after closing the IDE
Status: RESOLVED DUPLICATE of bug 225603
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 14:24 UTC by paolosca
Modified: 2013-03-25 09:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
jstack output (24.77 KB, text/plain)
2013-03-13 14:24 UTC, paolosca
Details
Netbeans messages log (91.00 KB, text/x-log)
2013-03-13 14:26 UTC, paolosca
Details
Netbeans metrics log (83.25 KB, application/octet-stream)
2013-03-13 14:26 UTC, paolosca
Details
Netbeans ui gestures log (367.85 KB, application/octet-stream)
2013-03-13 14:27 UTC, paolosca
Details
Snapshot file (860.78 KB, application/octet-stream)
2013-03-23 09:50 UTC, paolosca
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***