title: Java Settings for Netbeans 6.8 on OSX 10.5.8 to optimize cpu usage
body: <p>Sorry I have several question relative to the same problem.</p>
  
  <p>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%.</p>
  
  <p>It is often due to:
  - "go to declaration" command
  - completion command
  - more or less doing 2 or 3 basic actions such as entering text</p>
  
  <p>I already do the following to enhance performance, without success:
  - specific PHP netbeans
  - remove all unnecessary plugin and modules</p>
  
  <p>So my question is how to solve this problem and enhance java and netbeans performance on OSX?</p>
  
  <p>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&amp;F is the lightest?
  - how can I "backtrace" this problem more precisely?</p>
  
  <p>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!</p>