We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Netbeans is running really slow

kgpretty asked
Medium Priority
Last Modified: 2008-02-01
I recently installed Netbeans on my pc and at first it worked perfectly but now it takes forever to load up and often freezes my system when I try to run a .jsp file.
What can I do solve this problem?
Watch Question



    * My NetBeans IDE is slow. What can I do?
    * Can I have my files on network drives?
    * Can I disable Netbeans modules to speed up startup?
    * Can I eliminate pauses caused by garbage collection?
    * Can I improve performance by changing the look and feel?
    * What are memory requirements of Netbeans IDE?
    * What is the usual memory usage of Netbeans IDE?
    * How do I set the JVM's heap size to be smaller?
    * What can I do if Netbeans IDE runs out of memory (OutOfMemoryError is thrown)?
    * I get an OutOfMemoryError while building a project having more than 6000 source files. What do I do?
    * Editor does not reparse my source file fast enough to highligh errors when I am typing.
    * What can I do if Netbeans IDE runs out of file descriptors?
    * I am developing a Netbeans module. What performance criteria should it satisfy?

My NetBeans IDE is slow. What can I do?

There are various reasons why the IDE can be slow or unresponsive. The most frequent ones will be described here with hints how to improve the performance.

    * Problems related to memory usage
      If your Java process requires more memory than underlying OS can provide it can cause swapping of pages from/to disk. This results in significantly degraded performance. See the following topics how to address this problem: What are memory requirements of Netbeans IDE?, What is the usual memory usage of Netbeans IDE?, How do I set the JVM's heap size to be smaller?
      Contrariwise it is sometimes useful to increase amount of memory available to the application to allow it manage memory more effectively and this can reduce the time spent during garbage collection cycles.

    * I/O operations slowing down the IDE
      During some tasks the IDE is performing many I/O operations. With a slow device this can cause slowdown of the whole application. Typical examples are resources accessed on network drives or plugable drives like USB disk, storages using compression or encryption and anti-viruse applications guarding all accesses to files. Notebooks running on batteries have slower I/O too.

    * Problems with graphics
      Sometimes the performance of painting operations can be a bottleneck (or can even cause system instability). In such case it is useful to make sure that the latest available version of JVM is used as well as up-to-date drivers for the graphic devices. Java2D Graphics and Imaging page contains references to documents that can help here.

    * Performance degrading over time
      This can be a result of memory leaks and it often leads to an OutOfMemoryError later. It is discussed in What can I do if Netbeans IDE runs out of memory (OutOfMemoryError is thrown)? topic.

Too many add-ons and unstable plugins can affect behaviour of the whole IDE too.

Restoring of previously minimized application can take certain time because there is a lot of I/O (partly because the application can be paged out of memory, partly because of up-to-date check that is running in such a case).

Source : http://www.netbeans.org/kb/faqs/performance.html#FaqSlowNetBeans

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.