presto-spi/src/main/java/io/prestosql/spi/memory/MemoryPoolInfo.java/MemoryPoolInfo/getFreeBytes
class MemoryPoolInfo:    @JsonProperty
    public long getFreeBytes()
    {
        return maxBytes - reservedBytes - reservedRevocableBytes;
    }