Netbeans is running really slow

Posted on 2006-03-23
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?
Question by:kgpretty
    1 Comment
    LVL 22

    Accepted Solution



        * 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 :

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Android App Development

    This course will involve creating widgets, customize list view, grid view, spinners, etc. Creating applications using audio, video, and SQLite database. Ending with publication on Google Play.

    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    Introduction Many web sites contain image galleries; a common design for these galleries includes a page with a collection of thumbnail images.  You can click on each of the thumbnail images to see the larger version of the image.  This is easily i…
    This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
    This video teaches users how to migrate an existing Wordpress website to a new domain.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now