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 45289 - Open Project dialog extremely slow in /
Summary: Open Project dialog extremely slow in /
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-06-21 14:59 UTC by dmladek
Modified: 2006-03-24 10:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
FullThreadDump (12.25 KB, text/plain)
2004-06-21 15:00 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2004-06-21 14:59:23 UTC
Product Version       = NetBeans IDE Dev (Build
200406201800)
  Operating System      = Linux version
2.4.22-1.2115.nptl running on i386
  Java; VM; Vendor      = 1.5.0-beta3; Java
HotSpot(TM) Client VM 1.5.0-beta3-b55; Sun
Microsystems Inc.
  Java Home             = /usr/local/java/jdk1.5.0/jre
  System Locale; Encod. = cs_CZ (nb); ISO-8859-2
-------------------------------------------------------------------------------

Have open JFileCHooser "Open Project" dialog
(probably in your $HONE and Set combobox "Look
In:" to /
IDE hangs for a minute becasue it done in AWT
Thread and I', always getting an impression that
ide freez
Comment 1 dmladek 2004-06-21 15:00:13 UTC
Created attachment 15887 [details]
FullThreadDump
Comment 2 Jesse Glick 2004-06-21 15:12:09 UTC
A *minute*? More like a tenth of a second on my machine. Please give
some clue what it is about your machine that makes it so slow. Type
"mount" and attach the output.
Comment 3 dmladek 2004-06-21 16:05:32 UTC
a minute != 60 sec

a minute is just a moment, but in this case quite long as you wrote:
tenth of sec.

Here is my mount output:
[delphym@dmladek-nb delphym]$ date; mount; date
Po čen 21 17:00:30 CEST 2004
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda7 on /usr/local type ext3 (rw)
/dev/hda6 on /usr/src/CVS type ext2 (rw)
/dev/hda1 on /mnt/winC type ntfs (rw,uid=104276,gid=100)
/dev/hda5 on /mnt/winE type vfat (rw,uid=104276,gid=100)
dmladek-nb:(pid3540) on /net type nfs
(intr,rw,port=1023,timeo=8,retrans=110,indirect,map=/etc/amd.net)
automount(pid3852) on /home type autofs
(rw,fd=5,pgrp=3852,minproto=2,maxproto=3)
automount(pid5829) on /home type autofs
(rw,fd=5,pgrp=5829,minproto=2,maxproto=3)
automount(pid6300) on /home type autofs
(rw,fd=5,pgrp=6300,minproto=2,maxproto=3)
Po čen 21 17:00:30 CEST 2004


and listing my rootfs /
[delphym@dmladek-nb delphym]$ date; ls -l >/dev/null /; date
Po čen 21 17:03:51 CEST 2004
Po čen 21 17:03:51 CEST 2004

again take less then 1 sec.

But in NetBenas IDE it tooks 10-20-30 times more....
Comment 4 Jesse Glick 2004-06-21 17:14:35 UTC
Surely the /net or one of the automounts is to blame here. Petr which
directories do we automatically exclude from the project badging
currently?
Comment 5 Petr Hrebejk 2004-06-22 13:55:19 UTC
Hmm, strange it looks like we ignore all folders doirectly under disk
root.
Comment 6 Petr Hrebejk 2004-07-27 16:29:50 UTC
Oops.Things are changing. We did not ignore the folders so added the
feature again.

Checking in
projectui/src/org/netbeans/modules/project/ui/ProjectChooserAccessory.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/ProjectChooserAccessory.java,v
 <--  ProjectChooserAccessory.java
new revision: 1.20; previous revision: 1.19
done
Comment 7 Marian Mirilovic 2005-12-20 15:45:52 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.