NetBeans background scanning projects takes too lo

2019-03-17 21:10发布

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.

14条回答
forever°为你锁心
2楼-- · 2019-03-17 21:59

Always I fix such Netbeans related problems by deleting cache directory.

Directory location can be seen on About dialog window. For me, the path is

C:\Users\USER\AppData\Local\NetBeans\Cache\YOUR_VERSION

查看更多
祖国的老花朵
3楼-- · 2019-03-17 22:00

Please try NetBeans 8.0.2 from https://netbeans.org/downloads/

NetBeans 7.2 is too old and you will not get any support anymore.

查看更多
Lonely孤独者°
4楼-- · 2019-03-17 22:02

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

查看更多
聊天终结者
5楼-- · 2019-03-17 22:04

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.

查看更多
劫难
6楼-- · 2019-03-17 22:08

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 ......
查看更多
老娘就宠你
7楼-- · 2019-03-17 22:09

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.

查看更多
登录 后发表回答