I have the latest Java and JDK. I have a PHP project (CodeIgniter). When I open it in NetBeans 7.2 I can't get rid of "Background scanning of projects". What is this? How can I accelerate it? How can I disable it?
[current solution] This happens only once when you open a new project in NetBeans. Later "Background scanning of projets" works 10-15 seconds.
I found a solution, however it has slight drawbacks. Use the Scan on Demand plugin. After restarting Netbeans, background scanning should be disabled by default. Use the Update Center installation method, and disable the repository after installation (otherwise you might end up installing unstable updates by mistake).
Drawback: Chances are that indexes are out of date which makes working with Netbeans a little bit less comfortable (as stated on the plugin page).
Scan On Demand - Download and installation instructions
Edit: The bug persists, however using the following makes the perfomance dip a lesser problem. Add this string to netbeans_default_options
in your netbeans.conf:
-J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled
Works for me on a Win7, 64b machine, NB 7.2, JDK 1.703
Go to the source folder and delete 'nbproject' folder. But this doesn't allow the project to be displayed in NetBeans anyways it is the best solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With