title: Java slowing down my computer
body: <p>I'm writing a Java program that's running some complex video analysis programs which i wrote in Java. </p>
  
  <p>My IDE is Eclipse. After a couple of runs my program is really slow until i close Eclipse and run</p>
  
  <pre><code>pkill -f 'java -jar'
  </code></pre>
  
  <p>and</p>
  
  <pre><code>pkill -f 'java'
  </code></pre>
  
  <p>I guess this is because of some locked resources. Is there a way I can account for this in my program?</p>
  
  <p>I'm using Ubuntu 12.04 LTS by the way</p>