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 168453 - Invoking Close Project took 300,696 ms.
Summary: Invoking Close Project took 300,696 ms.
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL: http://statistics.netbeans.org/except...
Keywords: PERFORMANCE
: 166943 168243 (view as bug list)
Depends on: 168060
Blocks: 156647
  Show dependency tree
 
Reported: 2009-07-12 21:02 UTC by Michal Mocnak
Modified: 2009-11-26 03:06 UTC (History)
14 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 153619


Attachments
nps snapshot (31.17 KB, bin/nps)
2009-07-12 21:02 UTC, Michal Mocnak
Details
nps snapshot (34.09 KB, bin/nps)
2009-07-13 12:46 UTC, Petr Blaha
Details
nps snapshot (59.35 KB, bin/nps)
2009-07-13 13:09 UTC, Martin Schovanek
Details
nps snapshot (53.82 KB, bin/nps)
2009-07-14 10:34 UTC, Oleg Khokhlov
Details
nps snapshot (12.29 KB, bin/nps)
2009-07-14 19:18 UTC, Jesse Glick
Details
nps snapshot (26.81 KB, bin/nps)
2009-07-23 21:06 UTC, Jesse Glick
Details
nps snapshot (40.66 KB, bin/nps)
2009-08-05 09:13 UTC, Michal Mocnak
Details
nps snapshot (25.74 KB, bin/nps)
2009-08-27 18:34 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Mocnak 2009-07-12 21:02:26 UTC
Build: NetBeans IDE Dev (Build 200907100200)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.7, x86_64

User Comments:
mmocnak: Closing maven project


Maximal alredy reported slowness was 9031 ms, average is 7313
Comment 1 Michal Mocnak 2009-07-12 21:02:36 UTC
Created attachment 84636 [details]
nps snapshot
Comment 2 Petr Blaha 2009-07-13 12:46:19 UTC
Build: NetBeans IDE Dev (Build 090710)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.28-13-generic, amd64

User Comments: 
I just opened IDE and closed maven project.
Maximal alredy reported slowness was 9471 ms, average is 8032
Comment 3 Petr Blaha 2009-07-13 12:46:23 UTC
Created attachment 84651 [details]
nps snapshot
Comment 4 Martin Schovanek 2009-07-13 13:09:20 UTC
Build: NetBeans IDE Dev (Build 200907130200)
VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304
OS: Mac OS X, 10.5.7, i386

User Comments: 
Closing 5 Nb projects.
Maximal alredy reported slowness was 17212 ms, average is 10327
Comment 5 Martin Schovanek 2009-07-13 13:09:31 UTC
Created attachment 84654 [details]
nps snapshot
Comment 6 Exceptions Reporter 2009-07-13 17:06:33 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153619
Comment 7 Oleg Khokhlov 2009-07-14 10:34:17 UTC
Build: NetBeans IDE Dev (Build 200907130200)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 
closing huge project during scanning
Maximal alredy reported slowness was 20954 ms, average is 12351
Comment 8 Oleg Khokhlov 2009-07-14 10:34:22 UTC
Created attachment 84693 [details]
nps snapshot
Comment 9 Exceptions Reporter 2009-07-14 10:34:27 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153619
Comment 10 Jesse Glick 2009-07-14 19:18:46 UTC
Build: NetBeans IDE Dev (Build 090714)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 
Closing a project group.
Maximal alredy reported slowness was 20954 ms, average is 11414
Comment 11 Jesse Glick 2009-07-14 19:18:55 UTC
Created attachment 84740 [details]
nps snapshot
Comment 12 Exceptions Reporter 2009-07-14 19:19:13 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=153619
Comment 13 Jesse Glick 2009-07-14 19:27:10 UTC

*** This issue has been marked as a duplicate of 168060 ***
Comment 14 Jesse Glick 2009-07-15 15:42:56 UTC
API implemented, but need to actually fix issue.
Comment 15 Jesse Glick 2009-07-15 16:15:53 UTC
core-main #8863aba342a9
Comment 16 Quality Engineering 2009-07-16 06:01:16 UTC
Integrated into 'main-golden', will be available in build *200907160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8863aba342a9
User: Jesse Glick <jglick@netbeans.org>
Log: #168453: avoid loading nonopen TCs when saving list of open editor windows.
Comment 17 Milan Kubec 2009-07-16 10:14:25 UTC
*** Issue 168243 has been marked as a duplicate of this issue. ***
Comment 18 Marian Petras 2009-07-20 14:29:10 UTC
This bug is not fixed by far. I now closed 10 projects (NetBeans module projects) and it took the IDE 300,696 ms (5 
minutes) to close them and become responsive again. See the coming reports (such as http://statistics.netbeans.org/
analytics/exception.do?id=230333) for details.
Comment 19 Jesse Glick 2009-07-23 16:18:29 UTC
mpetras - your snapshot is something unrelated that just got stuffed into this issue, please file separately. A quick
look shows some time spent in XMLUtil.write saving project.xml, some time in debugger.jpda.projects.SourcePathProviderImpl.
Comment 20 Jesse Glick 2009-07-23 21:06:42 UTC
Build: NetBeans IDE Dev (Build 090721)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-13-generic, i386

User Comments: 

Maximal alredy reported slowness was 300696 ms, average is 31896
Comment 21 Jesse Glick 2009-07-23 21:06:53 UTC
Created attachment 85145 [details]
nps snapshot
Comment 22 Jesse Glick 2009-07-24 15:41:32 UTC
*** Issue 166943 has been marked as a duplicate of this issue. ***
Comment 23 Exceptions Reporter 2009-08-05 09:13:27 UTC
This issue has appeared again => reopenning, see exception reporter for more data
Comment 24 Michal Mocnak 2009-08-05 09:13:34 UTC
This issue was originally marked as duplicate of issue 168453, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200908050201)
VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304
OS: Mac OS X, 10.5.7, i386

User Comments: 
Closing netbeans module project
Maximum slowness yet reported was 300696 ms, average is 26796
Comment 25 Michal Mocnak 2009-08-05 09:13:40 UTC
Created attachment 85811 [details]
nps snapshot
Comment 26 Jesse Glick 2009-08-05 17:44:20 UTC
mmocnak - your last snapshot is an unrelated issue, so please report separately in ide/FoD;
ergonomics.fod.FeatureInfo.isProject is consuming 5682 msec in EQ.
Comment 27 Michal Mocnak 2009-08-07 09:45:53 UTC
Sure .. sorry for this.

Verified in trunk.
Comment 28 Exceptions Reporter 2009-08-27 18:33:57 UTC
This issue has appeared again => reopenning, see exception reporter for more data
Comment 29 Vladimir Voskresensky 2009-08-27 18:34:04 UTC
This issue was originally marked as duplicate of issue 168453, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 090827)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27-7-generic, i386

User Comments: 
selected 5 nb module projects in Project view and chosen "Close" in context menu
Maximum slowness yet reported was 300696 ms, average is 22828
Comment 30 Vladimir Voskresensky 2009-08-27 18:34:09 UTC
Created attachment 86755 [details]
nps snapshot
Comment 31 Jesse Glick 2009-08-27 19:13:04 UTC
Exception reporter keeps on reopening this when it should not (see issue #169922). vv159170, your snapshot shows most of
the time in LocalHistoryStoreImpl.fileChange, so if you want to open a fresh bug do so in the localhistory module.
Comment 32 Michal Mocnak 2009-11-26 03:06:51 UTC
Verified