title: Tomcat 7 OutOfMemoryError from UncaughtExceptionHandler
body: <p>Ok so I recently moved to a new Computer with a fresh install of Win7 Pro</p>
  
  <p>I copied across all my old files and folders from my old PC</p>
  
  <p>I copied my Tomcat 7 file to the new PC </p>
  
  <p>But now when I try and start it I get this error</p>
  
  <pre><code>Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-bio-8080-exec-2"
  </code></pre>
  
  <p>I've looked EVERYWHERE for a solution to this and found hundreds of different ones but none helped me</p>
  
  <p>Any ideas what could cause this error ? (I'm using the exact same tomcat file copied from old PC and exact same project that still works on old PC)</p>
  
  <p><strong>NOTE:</strong></p>
  
  <p>I've set the environmental variables exactly like they were on my old Computer.</p>
  
  <p>I'm using the exact same webapp I've been using for ages on my previous PC (So It cant be a memory leak or something wrong with the project)</p>