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 117162

Summary: Creating folders is slow
Product: java Reporter: kirillkh <kirillkh>
Component: ProjectAssignee: Milan Kubec <mkubec>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: issues
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump while waiting for a new folder to be created 1
Thread dump while waiting for a new folder to be created 2
Thread dump while waiting for a new folder to be created 3

Description kirillkh 2007-09-30 17:04:48 UTC
Creating a new folder in a web project of ~3200 source files often takes more than half of a minute with disk activity
led flashing and memory usage showing spikes.
Comment 1 kirillkh 2007-09-30 17:13:10 UTC
Created attachment 49835 [details]
Thread dump while waiting for a new folder to be created 1
Comment 2 kirillkh 2007-09-30 17:13:45 UTC
Created attachment 49836 [details]
Thread dump while waiting for a new folder to be created 2
Comment 3 kirillkh 2007-09-30 17:14:10 UTC
Created attachment 49837 [details]
Thread dump while waiting for a new folder to be created 3
Comment 4 kirillkh 2007-09-30 17:31:24 UTC
Umm.. I have just noticed that upon creation of a new folder in Files view, it automatically shows all project's
packages (which I very rarely do manually, as I know it's slow). While I'm not sure this is the only reason for the
slowdown, it definitely contributes to it. I've just restarted the IDE and expanded the packages list manually -
subsequent creation of a folder didn't cause any slowdown at all.
Comment 5 Tomas Zezula 2007-10-01 09:43:08 UTC
PackageView problem. Probably same as issue #117179
PackageView is maintained by Milan.
Comment 6 Milan Kubec 2007-10-30 11:52:07 UTC
Probably the same cause.

*** This issue has been marked as a duplicate of 117179 ***