presto-main/src/main/java/io/prestosql/memory/MemoryManagerConfig.java/MemoryManagerConfig/getMaxQueryMemory
class MemoryManagerConfig:    @NotNull
    public DataSize getMaxQueryMemory()
    {
        return maxQueryMemory;
    }