Sorry I have several question relative to the same problem.
I am using Netbeans 6.8 on OSX 10.5.8 with java 1.6.0_17 and after about 5 minutes of work, the cpu usage of netbeans process (and java) are around 100%.
It is often due to:
– “go to declaration” command
– completion command
– more or less doing 2 or 3 basic actions such as entering text
I already do the following to enhance performance, without success:
– specific PHP netbeans
– remove all unnecessary plugin and modules
So my question is how to solve this problem and enhance java and netbeans performance on OSX?
More precisely:
– will a change in garbage collection policy enhance performance? And how to do this?
– will a change in default java look and feel enhance performance? Which L&F is the lightest?
– how can I “backtrace” this problem more precisely?
Sorry for all this questions in the same post but I am running out of idea concerning this problem… Thank you in advance for your advices, hints and help!
You could try to increase available heap for netbeans.
The settings are in $NETBEANS_HOME/etc/netbeans.conf
The interessting one is
netbeans_default_optionsDefault is: -J-Xms32m I would start with
-Xms256m -Xmx512mwith -J (prefix)EDIT: From netbeans.conf