Netbeans is running really slow

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?
kgprettyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pinaldaveCommented:




      
Performance

    * 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.