Entlib Loading the data inMemory
I am using caching library from EntLib 3.1, we are storing quite heavy data in the caching db around (300 meg), when I instantiate the CacheFactory.GetCacheManager("Cache Manager"), it returns the Heavy Li开发者_JS百科st of cache object from database, which resulting in Application to be using very high memory, Is there a way to not load the entire data in the inmemory of the application using entlib, instead of loading the item ondemand from the cache database itself?
Thanks
The Entlib caching block stores a copy of the cached items in memory. The backing store is there for persistence across app restarts. There's no way to change this behavior.
精彩评论