Netbeans is so slow while developing PHP script [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
开发者_如何转开发 Improve this questioni'm using Netbeans on Ubuntu, when i write top
command i notice that Java causes like 100%+ cpu usage. Is there anything to do to speed up Netbeans ? can i download another JRE on ubuntu to speed it up (i'm using OpenJDK).
Thanks .
Another item that helps me, apart from replacing OpenJDK with SunJDK is the "Scanning Sources" which can be disabled if you goto Tools -> Options -> Misc -> Files
and uncheck the Enable "auto-scanning" of sources.
I am not 100% sure what that option does, but it speeds up my projects. Also I would try NetBeans 7, they have made massive leaps and bounds in the newer versions from the older (not knowing what version you are using).
Yes, it's well known that Netbeans runs slower with OpenJDK.
Your question has been answered on AskUbuntu before:
https://askubuntu.com/questions/5567/how-to-install-the-sun-java-jdk
Enable the partner repository and then install Sun Java with:
sudo apt-get install sun-java6-jdk
I would:
- Replace OpenJDK with Sun's JDK. OpenJDK's performance is still not upto par.
- I would read this (a bit dated, but most of works with some changes).
精彩评论