title: java: cpu 100% of usage. what optimization tricks can be done?
body: <p>My java program takes 30-70% of CPU usage and 3% of Memory (I use TOP linux function).
  I run a 32bits version of java.</p>
  
  <pre><code>java version "1.6.0_20"
  Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
  Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
  </code></pre>
  
  <p>Is there a way to make it faster ? Some optimization to un the java software ? (I don't have the source code, so no source code optimization is possible).</p>
  
  <p>Installing a 64bits of java would help ? some other optimization tricks ?</p>