presto-main/src/main/java/io/prestosql/server/ClusterStatsResource.java/ClusterStatsResource/getClusterMemoryPoolInfo
class ClusterStatsResource:    @GET
    @Path("memory")
    public Response getClusterMemoryPoolInfo()
    {
        return Response.ok()
                .entity(clusterMemoryManager.getMemoryPoolInfo())
                .build();
    }