presto-main/src/main/java/io/prestosql/memory/QueryContext.java/QueryContext/setMaxUserMemory
class QueryContext:    public synchronized void setMaxUserMemory(long maxUserMemory)
    {
        this.maxUserMemory = maxUserMemory;
    }