title: Java out of memory error on CentOS
body: <p>Hi,</p>
  
  <p>I am running an application that requires java on a CentOS server but it is continuously crashing. When I look at the logs this is what I get:</p>
  
  <pre><code>Server exception monitor uncatched exception: java.lang.OutOfMemoryError: Java heap space
  </code></pre>
  
  <p>This is my java version:</p>
  
  <pre><code>java version "1.7.0_07"
  Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
  Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
  </code></pre>
  
  <p>Seems like it is out of memory or something but I have no idea how to fix this. What should I do?</p>
  
  <p>Thank you.</p>