Support for working with petabytes of disk and memory.

Use int64_t instead of int for storing memory and disk sizes.

@btovar, @dthain