• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2237
  • Last Modified:

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?
0
kgpretty
Asked:
kgpretty
1 Solution
 
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
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now