private long protonMemorySize(ContentCluster cluster) {
        ProtonConfig.Builder b  = new ProtonConfig.Builder();
        cluster.getSearch().getSearchCluster().getSearchNode(0).getConfig(b);
        return b.build().hwinfo().memory().size();
    }
Recreate the combination used in some factory tests
config-model/src/test/java/com/yahoo/config/model/provision/ModelProvisioningTest.java