Background project scanning slows down Netbeans 7.2

I have the latest Java and JDK. I have a PHP project (CodeIgniter). When I open it in NetBeans 7.2, I can not get rid of the "Background scan of projects." What is it? How can I speed it up? How to disable it?

[current solution] This only happens once when you open a new project in NetBeans. Later, "Background Scan of Projects" works 10-15 seconds.

+5
source share
5 answers

I found a solution, however it has minor flaws. Use the Scan On Demand plugin . After restarting Netbeans, background scanning should be turned off by default. Use the update center installation method and disconnect the repository after installation (otherwise, you may mistakenly install unstable updates).

Disadvantage . Most likely, the indexes are outdated, which makes working with Netbeans a little less convenient (as indicated on the plugin page).

Scan On Demand - Download and Installation Instructions

Edit: The error persists, but using the following options makes the job less important. Add this line to netbeans_default_optionsin netbeans.conf :

-J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled

Works for me on a Win7, 64b, NB 7.2, JDK 1.703 machine

+7

"nbproject". , NetBeans , .

+1

. , , netbeans , . , netbeans , :)

, netbeans, netbeans ( > Git > ) , , git. , netbeans .

+1

netbeans_default_options, @Mateng, , Netbeans 7.2.1 ( , Netbeans 8) ( ) "" , . 10 ..

, , , " " .

, ,

-J-XX:ReservedCodeCacheSize=<big value>

.

, !

0

You can simply turn it off in Tools> Options> Miscellaneous> Files by disabling "Enable Autoscan Sources", for example, " in this answer .

0
source

All Articles