maxBytes

fun maxBytes(contexts: Int, recentRequests: Int, maxHeap: Long = Runtime.getRuntime().maxMemory()): Long

The estimated bytes each of contexts state caches holds on a heap of at most maxHeap bytes, each state keeping up to recentRequests recent requests.