public long lengthForIntArrayOfSize(long length) {
    return lengthForPrimitiveArrayOfSize(primitive1(), length);
  }
Estimation of memory footprint of object
storage-api/src/java/org/apache/hadoop/hive/ql/util/JavaDataModel.java