@Override
  public void checkMemoryOverhead(long rowNumber, long hashTableScale, int tableContainerSize) {
    if (rowNumber > hashTableScale && rowNumber % hashTableScale == 0) {
      this.memoryExhaustionHandler.checkMemoryStatus(tableContainerSize, rowNumber);
    }
  }
A {@link MemoryExhaustionChecker} that uses a {@link MapJoinMemoryExhaustionHandler}
to check memory overhead.
ql/src/java/org/apache/hadoop/hive/ql/exec/DefaultMemoryExhaustionChecker.java