FaqWindowsCPU

(Difference between revisions)
(places bar is on left)
 
(One intermediate revision not shown)
Line 3: Line 3:
Problem: Each time I click a button to browse for a directory (file),
Problem: Each time I click a button to browse for a directory (file),
-
NetBeans5.5 takes 99% CPU. I can still move the dialog all over the screen,  
+
NetBeans 5.5 takes 99% CPU. I can still move the dialog all over the screen,  
but nothing happens and buttons don't work. I have to kill the 'java.exe' Windows process.
but nothing happens and buttons don't work. I have to kill the 'java.exe' Windows process.
This happens in all dialogs, e.g. to add an external .jar file,
This happens in all dialogs, e.g. to add an external .jar file,
Line 19: Line 19:
* http://netbeans.org/bugzilla/show_bug.cgi?id=122577  
* http://netbeans.org/bugzilla/show_bug.cgi?id=122577  
* [[FaqWindowsPlacesBar]]
* [[FaqWindowsPlacesBar]]
 +
 +
[[Category:Performance:FAQ]]

Current revision as of 11:07, 22 December 2011

Why is browsing for a file from within any Open Dialog so slow?

Problem: Each time I click a button to browse for a directory (file), NetBeans 5.5 takes 99% CPU. I can still move the dialog all over the screen, but nothing happens and buttons don't work. I have to kill the 'java.exe' Windows process. This happens in all dialogs, e.g. to add an external .jar file, to import an Eclipse project, etc... System: Windows XP Professional Version 2002 service pack 1, jdk 1.5

Workaround Solution:

  • This is a JDK bug on Windows. Move all ZIP files away from your the directory you are browsing, e.g. Windows Desktop.
  • Starting from NetBeans 6.7, you can put "nb.FileChooser.useShellFolder=false" into netbeans.conf. This option will disable left side places bar and speed up the dialog.

See also

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo