presto-main/src/main/java/io/prestosql/server/remotetask/HttpLocationFactory.java/HttpLocationFactory/createMemoryInfoLocation
class HttpLocationFactory:    @Override
    public URI createMemoryInfoLocation(InternalNode node)
    {
        requireNonNull(node, "node is null");
        return uriBuilderFrom(node.getInternalUri())
                .appendPath("/v1/memory").build();
    }