private void tuneDocumentStoreMaxFileSize(ProtonConfig.Summary.Log.Builder builder) {
        long fileSizeBytes = (long) Math.max(256* MiB, usableMemoryGb()* GiB *SUMMARY_FILE_SIZE_AS_FRACTION_OF_MEMORY);
        builder.maxfilesize(fileSizeBytes);
    }
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