size

open fun size(@Nullable size: Integer): RenderCacheOptions.Builder

Maximum size allocated for the render cache in megabytes. Setting the value to zero will effectively disable the feature. Recommended starting values for the cache sizes are 64 and 128 for devices with pixel ratio 1.0 and >1.0 respectively.