private double fractionOfMemoryReserved(String clusterId, Collection<ContainerModel> containers) {
            for (ContainerModel containerModel : containers) {
                Optional<String> hostClusterId = containerModel.getCluster().getHostClusterId();
                if (hostClusterId.isPresent() && hostClusterId.get().equals(clusterId) && containerModel.getCluster().getMemoryPercentage().isPresent()) {
                    return containerModel.getCluster().getMemoryPercentage().get().ofContainerAvailable() * 0.01;
                }
            }
            return 0.0;
        }
Returns of memory reserved on a host. Memory is reserved for the jvm if the cluster is combined
config-model/src/main/java/com/yahoo/vespa/model/content/cluster/ContentCluster.java