presto-main/src/main/java/io/prestosql/memory/MemoryManagerConfig.java/MemoryManagerConfig/setMaxQueryMemory
class MemoryManagerConfig:    @Config("query.max-memory")
    public MemoryManagerConfig setMaxQueryMemory(DataSize maxQueryMemory)
    {
        this.maxQueryMemory = maxQueryMemory;
        return this;
    }