Index: src/java/org/apache/hadoop/hbase/regionserver/HRegion.java =================================================================== --- src/java/org/apache/hadoop/hbase/regionserver/HRegion.java (revision 685040) +++ src/java/org/apache/hadoop/hbase/regionserver/HRegion.java (working copy) @@ -1423,7 +1423,14 @@ * this and the synchronize on 'this' inside in internalFlushCache to send * the notify. */ - private synchronized void checkResources() { + private void checkResources() { + if (this.memcacheSize.get() > this.blockingMemcacheSize) { + requestFlush(); + doBlocking(); + } + } + + private synchronized void doBlocking() { boolean blocked = false; while (this.memcacheSize.get() > this.blockingMemcacheSize) { if (!blocked) {