Currently there's no limit on the growth of the MemoryCache implementation. If lots of different values are added to the cache, its memory usage will growing without bounds. Add a way of controlling how much memory is available for the cache and have a policy for evicting entries when that limit is reached.
Currently there's no limit on the growth of the
MemoryCache
implementation. If lots of different values are added to the cache, its memory usage will growing without bounds. Add a way of controlling how much memory is available for the cache and have a policy for evicting entries when that limit is reached.