title: Possible memory issue crashing Hbase Thrift Server
body: <p>I'm running Cloudera CDH4 with Hbase and Hbase Thrift Server.  Several times a day, the Thrift Server crashes. </p>
  
  <p>In /var/log/hbase/hbase-hbase-thrift-myserver.out, there is this:</p>
  
  <pre><code>#
  # java.lang.OutOfMemoryError: Java heap space
  # -XX:OnOutOfMemoryError="kill -9 %p"
  #   Executing /bin/sh -c "kill -9 8151"...
  </code></pre>
  
  <p>In /var/log/hbase/hbase-hbase-thrift-myserver.log, there are no error messages at the end of the file. There are only a lot of DEBUG messages stating that one of the nodes is caching a particular file.</p>
  
  <p>I can't figure out any configuration options for the Hbase Thrift Server. There are no obvious files in /etc/. Just /etc/hbase/conf and its Hbase files.</p>
  
  <p>Any ideas on debugging?</p>