maxSizePercent

fun maxSizePercent(context: PlatformContext, percent: Double = context.defaultMemoryCacheSizePercent()): MemoryCache.Builder

Set the maximum size of the memory cache as a percentage of this application's available memory.