I don't have much memory on my PC and a pretty weak processor. Although netbeans is by far my favorite IDE it is almost unbearable to use on my present computer because of the project scanning that starts automatically when I open the program.
Is there a way to prevent netbeans from scanning projects?
In addition to close unneeded projects (David) you can create project groups containing related projects (or just one):
File > Project Group > New Group...
.Project groups can then be opened by pointing at them from the same menu. Best of all: Each group remembers which files were open in the editor windows the last time. I organize all my projects into groups and it reduces scanning significantly.
(btw: There's a handy plugin providing a project group shortcut to the toolbar)
Edit: I am also using Scan on Demand for a while now - really good. Kudos for that answer.
I also face the same problem with netbean 8.2. I just deleted the project by - Right click on the project - Delete the project ( keep unselect delete source code option ). - Again create new project
and its working perfectly now.
Hope its work.
Try this Netbeans plugin. This reduces the load for some extend.
http://wiki.netbeans.org/ScanOnDemand
Not exactly the case of question, but sometimes "scanning projects" can be stopped just by restarting Netbeans.
In my case, with jdk 1.8, there is a big issue when there are multiple static imports (see the example). It seems that there is a problem with javac. The compiler is very slow when checking such a .java file and NetBeans scanning is very very slow. It seems that the compilation and scanning time is increasing very fast with each repeated static import. So, if that is your case, just remove repeated imports
And another quick thing you can do just delete the nbproject folder inside your project then open the NeteBeans. then the project remove from the list. this I do some times when it got freeze