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 253201 - Build netbeans-trunk-nightly-201506230001-javaee.zip is unusable due to high CPU usage
Summary: Build netbeans-trunk-nightly-201506230001-javaee.zip is unusable due to high ...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: REGRESSION
: 253238 253256 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-26 08:12 UTC by terje7601
Modified: 2015-06-30 09:23 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218189


Attachments
jvisualvm application snapshot (179.20 KB, application/octet-stream)
2015-06-26 08:12 UTC, terje7601
Details

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2015-06-26 08:12:56 UTC
Created attachment 154402 [details]
jvisualvm application snapshot

At first it was just after using NetBeans for a while, but since today, CPU usage is very high (constantly > 75% on a Core i7-2600) as soon as NetBeans is started. I didn't have any issues with an earlier nightly build (one from about a month ago), so this seems like a regression.

In attachment is a jvisualvm application snapshot with CPU sampling results & some thread dumps. Hopefully this helps to find the cause.

Product Version: NetBeans IDE Dev (Build 201506230001)
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Tomas Hurka 2015-06-26 08:59:18 UTC
snapshot shows that BreadCrumbsScanningTask is running for a long time.
Comment 2 Tomas Zezula 2015-06-26 09:22:04 UTC
Maybe caused by: http://hg.netbeans.org/main-silver/rev/cda1a55676ce
Comment 3 Tomas Hurka 2015-06-26 16:59:59 UTC
The Application snapshot shows high GC activity, which suggests that there is a memory leak. Attached exception report (218189) shows that this leak causes OOME. Heap dump is full of BreadCrumbs related objects. Since this is regression, which causes OOME, raising priority to P2.
Comment 4 Dusan Balek 2015-06-29 16:36:39 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/760e92ec89df
Comment 5 Dusan Balek 2015-06-29 16:51:17 UTC
*** Bug 253238 has been marked as a duplicate of this bug. ***
Comment 6 Quality Engineering 2015-06-30 01:21:08 UTC
Integrated into 'main-silver', will be available in build *201506300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/760e92ec89df
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #253201 - Build netbeans-trunk-nightly-201506230001-javaee.zip is unusable due to high CPU usage - fixed.
Comment 7 Tomas Hurka 2015-06-30 09:23:48 UTC
*** Bug 253256 has been marked as a duplicate of this bug. ***