public synchronized long getTotalSpace() {
    return maxBlockCount * (long) blockSize;
  }
Returns the total size of this disk. This is the maximum size of the disk and does not reflect
the amount of data currently allocated or cached.
jimfs/src/main/java/com/google/common/jimfs/HeapDisk.java