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 232886

Summary: NetBeans eats 100% CPU right after start (no indexing on background)
Product: platform Reporter: Jan Becicka <jbecicka>
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED DUPLICATE    
Severity: normal CC: exceptions_reporter, hair, thurka, tzezula
Priority: P3    
Version: 7.3   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: .npss file attached from NetBeans

Description Jan Becicka 2013-07-17 08:42:24 UTC
Product Version = NetBeans IDE 7.3 (Build 201306052037)
Operating System = Mac OS X version 10.8.4 running on x86_64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Comment 1 Jan Becicka 2013-07-17 08:42:44 UTC
Created attachment 137300 [details]
.npss file attached from NetBeans

.npss file
Comment 2 Tomas Zezula 2013-07-17 09:26:49 UTC
There are several threads.

1st) There is scanning (RepositoryUpdater.worker) - collecting files 9s and scanning 3.5s - seems OK after 
start.

2nd) There is heavily active EDT - doing some javascript UI update

3rd) There are 4 active versioning threads. Reassigning to versioning to evaluate.
Comment 3 Jan Becicka 2013-07-17 11:24:15 UTC
(In reply to comment #2)
> There are several threads.
> 
> 1st) There is scanning (RepositoryUpdater.worker) - collecting files 9s and
> scanning 3.5s - seems OK after 
> start.

BTW background scanning progress was not visible.
Comment 4 Tomas Zezula 2013-07-17 13:02:34 UTC
Sorry wrong snapshot.
In the attached snapshot there is lot's of fileCreated fileDeleted events (even reporter did no external change). No indexing or parsing.
Most of time spent in FileUtil.isParentOf
Comment 5 Jaroslav Havlin 2013-07-17 13:41:49 UTC
This issue could be related to bug 232640.
Comment 6 Jaroslav Havlin 2013-07-25 12:32:28 UTC
*** Bug 233406 has been marked as a duplicate of this bug. ***
Comment 7 Jaroslav Havlin 2013-07-25 12:56:31 UTC
*** Bug 225288 has been marked as a duplicate of this bug. ***
Comment 8 Jaroslav Havlin 2013-08-22 11:53:09 UTC
Closing as duplicate of bug 232640.
Hopefully thread dumps with thread names that contain more info will be useful.

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