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 206892 - LowPerformance took 213874 ms.
Summary: LowPerformance took 213874 ms.
Status: RESOLVED INVALID
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-01-04 08:12 UTC by catjav
Modified: 2012-01-04 11:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 179024


Attachments
nps snapshot (226.34 KB, application/nps)
2012-01-04 08:12 UTC, catjav
Details

Note You need to log in before you can comment on or make changes to this bug.
Description catjav 2012-01-04 08:12:05 UTC
Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows XP

User Comments:
catjav: I open netbeans. It takes between 20 et 30 minutes to open, every day...



Maximum slowness yet reported was 213874 ms, average is 117491
Comment 1 catjav 2012-01-04 08:12:12 UTC
Created attachment 114597 [details]
nps snapshot
Comment 2 Jesse Glick 2012-01-04 11:34:48 UTC
I am showing four calls to java.io.File.isDirectory taking a total of 42 seconds. Probably something is very wrong in your environment - either a problem with disk access (such as using a slow network drive), or far too small a heap for NB to run in, or too little RAM so that everything is swapping, etc. The profiler snapshots are useful for diagnosing excessive CPU used by Java code, or an excessive number of calls to native methods, but neither seems to be the case here.

EQ is blocked because J2SELogicalViewRootNode is calling hasBrokenLinks in its constructor, which is probably unnecessary, but the disk accesses are coming from LibraryManager.