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 181170

Summary: GUI Freezes, 50% CPU usage (1 core maxed) opening File Chooser
Product: platform Reporter: robtaft
Component: Directory ChooserAssignee: David Simonek <dsimonek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: issues, mmirilovic
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread Dump
Selecting OpenProject
Adding Source Directory
Setting the runtime working directory

Description robtaft 2010-02-24 12:59:35 UTC
Created attachment 94493 [details]
Thread Dump

Whenever I press a button that requires opening a File Chooser, the CPU spikes and netbeans is locked (no repaint) for a period of time, often up to 5 minutes.  This happens every time Open Project, or selecting jars to add to a project library.

I am connected to VPN, have mapped drives to work, and a disk that points to a etx3 partition.  I've tried unmapping drives, but that doesn't effect it.
Comment 1 Peter Pis 2010-02-25 00:46:21 UTC
Could you please take 2-3 thread dumps and attach them while encountering the issue?
http://wiki.netbeans.org/GenerateThreadDump
Comment 2 robtaft 2010-02-25 11:52:00 UTC
Created attachment 94529 [details]
Selecting OpenProject
Comment 3 robtaft 2010-02-25 11:52:28 UTC
Created attachment 94530 [details]
Adding Source Directory
Comment 4 robtaft 2010-02-25 11:53:12 UTC
Created attachment 94531 [details]
Setting the runtime working directory
Comment 5 David Simonek 2010-03-23 16:13:28 UTC
You hit the now famous JDK problem, see http://wiki.netbeans.org/FaqWindowsCPU for explanations and possible workarounds.

*** This bug has been marked as a duplicate of bug 109703 ***