Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans background scanning projects takes too long

NetBeans background scanning projects takes too long. Every time when I open netbeans it scanning for ages. I used NetBeans 7.2 and it works perfecly. Now I formatted pc and reinstalled windows, install the same version of NetBeans 7.2, and it works to slow.

like image 476
user3351236 Avatar asked Mar 02 '15 13:03

user3351236


4 Answers

Having the same issue with 8.0.2 when a project has JS resources I tracked it down in my case to a problem with the javascript2 editor module which has been updated over the original version shipping with netbeans 8.0.2.

I simply solved it by removing the updated module.

On Linux:

rm ~/.netbeans/8.0.2/modules/org-netbeans-modules-javascript2-editor.jar

However, after letting the netbeans updater download the module a second time, the problem didn't appear again.

In Netbeans 8.1, the location of this file is at: ide/modules/org-netbeans-modules-javascript2-editor.jar.

like image 89
Martin Avatar answered Oct 10 '22 09:10

Martin


I have the same problem in netbeans but i found solution by unselect the check from auto scan background in your netbeans IDE go to tools and then Option and select then to miscellaneous and select file tab inside miscellaneous and you will find check as "enable of auto-scanning of the source unselect that one and netbeans will be fast then i hope it will help you in fasting your IDE too

enter image description here

like image 36
Mohamed Bawaneen Avatar answered Oct 10 '22 10:10

Mohamed Bawaneen


After latest update of Netbean 8.0.2 I have the same problem that scaning process did not stop and go forever with CPU usage on 25%.

When I replace javascrip editor files in C:\Program Files\NetBeans 8.0.2\ide\modules on Windows 7 with old one then scaning project process start work again. You can take those file from this repo.

like image 6
uran1980 Avatar answered Oct 10 '22 09:10

uran1980


i'm facing the same issue, but it works fine after increase the heap size by adding -J-Xmx2048m in <NETBEANS_DIR>\etc\netbeans.conf

mine looks like this:

 netbeans_default_options="-J-client -J-Xss2m -J-Xms2048m -J-Xmx2048m -J-XX:PermSize=32m ......
like image 3
d1ck50n Avatar answered Oct 10 '22 10:10

d1ck50n