private void tuneSummaryCache(ProtonConfig.Summary.Cache.Builder builder) {
        long memoryLimitBytes = (long) ((usableMemoryGb() * SUMMARY_CACHE_SIZE_AS_FRACTION_OF_MEMORY) * GiB);
        builder.maxbytes(memoryLimitBytes);
    }
Tuning of proton config for a search node based on the resources on the node.

@author geirst
config-model/src/main/java/com/yahoo/vespa/model/search/NodeResourcesTuning.java