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 172732 - [68cat] [scanning] 100% CPU utilization during project scanning when first launched
Summary: [68cat] [scanning] 100% CPU utilization during project scanning when first la...
Status: RESOLVED INCOMPLETE
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 06:15 UTC by esmithbss
Modified: 2010-04-12 12:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Messages Log from first invocation where noticed. (112.45 KB, text/plain)
2009-09-22 06:16 UTC, esmithbss
Details
Initial Profiler Trace (just after CPUs hit 100%) (100.20 KB, application/x-tar)
2009-09-22 06:23 UTC, esmithbss
Details
Profiler Trace from middle of 100% CPU utilization. (75.56 KB, application/x-gzip)
2009-09-22 06:23 UTC, esmithbss
Details
Profiler Trace of end of 100% CPU utilization (265.21 KB, application/x-tar)
2009-09-22 06:24 UTC, esmithbss
Details
Profile Trace from after CPU dropped to normal usage following project scanning. (71.42 KB, application/x-tar)
2009-09-22 06:25 UTC, esmithbss
Details
snapshot.nps (58.71 KB, application/octet-stream)
2009-10-05 05:36 UTC, nleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2009-09-22 06:15:18 UTC
[ BUILD # : 200909211401 ]
[ JDK VERSION : 1.6.* ]

After installing 200909211401, launching it, adding 2 ruby projects,
then closing the IDE, I reopened 200909211401 and when the IDE
started scanning my projects, both CPUs in my machine pegged at 100%
with over 99% being allocated to NetBeans.

This was not the case in 200909200201 with the same 2 projects.
Comment 1 esmithbss 2009-09-22 06:16:22 UTC
Created attachment 88068 [details]
Messages Log from first invocation where noticed.
Comment 2 esmithbss 2009-09-22 06:23:10 UTC
Created attachment 88069 [details]
Initial Profiler Trace (just after CPUs hit 100%)
Comment 3 esmithbss 2009-09-22 06:23:58 UTC
Created attachment 88070 [details]
Profiler Trace from middle of 100% CPU utilization.
Comment 4 esmithbss 2009-09-22 06:24:55 UTC
Created attachment 88071 [details]
Profiler Trace of end of 100% CPU utilization
Comment 5 esmithbss 2009-09-22 06:25:45 UTC
Created attachment 88072 [details]
Profile Trace from after CPU dropped to normal usage following project scanning.
Comment 6 esmithbss 2009-09-22 06:28:44 UTC
Looking at the profiler traces indicates a huge percentage of time spent in Object.wait which indicates some level of
resource starvation or locking.
Comment 7 Erno Mononen 2009-09-22 11:52:36 UTC
Could you please attach those snapshots as .nps files, it doesn't appear to be possible to import .xml files into the 
IDE (which seems a bit silly since exporting to .xml is possible - I filed #172752 for that). 
Comment 8 esmithbss 2009-09-22 14:11:49 UTC
Unfortunately, I only have them as XML files.  
Comment 9 nleck 2009-10-05 05:36:15 UTC
Created attachment 88811 [details]
snapshot.nps
Comment 10 nleck 2009-10-05 05:38:20 UTC
The initial project scan for our project have reverted back to the 6.5beta performance of an hour or so for the initial 
scann
Comment 11 Erno Mononen 2009-10-05 08:43:08 UTC
Hi Nigel, can you please file a new issue against java for your snapshot, this issue is for Ruby (in your snapshot the 
time is spent in indexing java sources, a different problem than Eric's). Thanks.
Comment 12 nleck 2009-10-05 09:07:17 UTC
created bug#173720
Comment 13 Erno Mononen 2010-04-12 12:12:45 UTC
Are you still seeing this? If yes, can you please take .nps snapshots and attach them here? (Unfortunately there still isn't a way to import .xml snapshots and trying to figure out the culprit from plain xml is a bit painful).