public long memorySize() {
    return getEstimatedMemorySize();
  }
Number of bytes used by the hashmap.
There are two main components that take most memory: writeBuffers and refs
Others include instance fields: 100
@return number of bytes
ql/src/java/org/apache/hadoop/hive/ql/exec/persistence/BytesBytesMultiHashMap.java