protected int getMemoryUsed() {
      int result = 4 + 8 + 8 + 8 + 4 + 4 + 4;
      if (intervals != null) {
        result += 4 * intervals.length;
        for (int i = 0; i <= intervalIdx; i++) {
          result += intervals[i].getMemoryUsed();
        }
      }
      return result;
    }
Returns the amount of memory used to implement this series.
geode-core/src/main/java/org/apache/geode/internal/statistics/StatArchiveReader.java