presto-main/src/main/java/io/prestosql/memory/MemoryPool.java/MemoryPool/MemoryPool
class MemoryPool:    public MemoryPool(MemoryPoolId id, DataSize size)
    {
        this.id = requireNonNull(id, "name is null");
        requireNonNull(size, "size is null");
        maxBytes = size.toBytes();
    }